home *** CD-ROM | disk | FTP | other *** search
- #define YY_CHAR unsigned char
- #line 1 "/u/icdc/rdt/tools/lib/flexskel.cc"
- /* A lexical scanner generated by flex */
- /* scanner skeleton version:
- * $Header: /usr/fsys/odin/a/vern/flex/RCS/flex.skel,v 2.16 90/08/03 14:09:36 vern Exp $
- */
- /* MODIFIED FOR C++ CLASS BY Alain Coetmeur: coetmeur(at)icdc.fr */
- /* Note that (at) mean the 'at' symbol that I cannot write */
- /* because it is expanded to the class name */
- /* made at Informatique-CDC, Research&development department */
- /* company from the Caisse Des Depots et Consignations */
- /* institutional financial group */
-
- /* theses symbols are added before this file */
- /* #define YY_CHAR 'unsigned char' if 8bit or 'char' if 7bit */
- /* #define FLEX_DEBUG if debug mode */
- #define FLEX_SCANNER
- /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
- #ifdef c_plusplus
- #ifndef __cplusplus
- #define __cplusplus
- #endif
- #endif
- /* Old MSC, before c7 */
- #ifdef MSDOS
- #ifndef _MSDOS
- #define _MSDOS
- #endif
- #endif
- /* turboc */
- #ifdef __MSDOS__
- #ifndef _MSDOS
- #define _MSDOS
- #endif
- #endif
-
- #ifdef __cplusplus
- #include <stdlib.h>
- #define YY_USE_CONST
- #define YY_USE_PROTOS
- #ifndef YY_USE_CLASS
- #define YY_USE_CLASS
- #endif
- #ifndef _MSDOS
- #include <osfcn.h>
- #endif
- #else /* ! __cplusplus */
- #ifdef __STDC__
- #ifdef __GNUC__
- #include <stddef.h>
- void *malloc( size_t );
- void free( void* );
- int read();
- #else
- #include <stdlib.h>
- #endif /* __GNUC__ */
- #define YY_USE_PROTOS
- #define YY_USE_CONST
- #endif /* __STDC__ */
- #endif /* ! __cplusplus */
- #ifdef __TURBOC__
- #define YY_USE_CONST
- #endif
- #include <stdio.h>
-
-
- /*********************************************/
- /* COMPILER DEPENDENT MACROS */
- /*********************************************/
- /* use prototypes in function declarations */
- /* the "const" storage-class-modifier is valid */
- #ifndef YY_USE_CONST
- #define const
- #endif
- /* use prototypes in function declarations */
- #ifndef YY_PROTO
- #ifdef YY_USE_PROTOS
- #define YY_PROTO(proto) proto
- #else
- #define YY_PROTO(proto) ()
- #endif
- #endif
-
-
- /*********************/
- /* parameters */
-
- /* amount of stuff to slurp up with each read */
- #ifndef YY_READ_BUF_SIZE
- #define YY_READ_BUF_SIZE 8192
- #endif
- /* size of default input buffer */
- #ifndef YY_BUF_SIZE
- #define YY_BUF_SIZE (YY_READ_BUF_SIZE * 2)
- #endif
-
- /***********************************/
- /* to be redefined for application */
-
- /* returned upon end-of-file */
- #define YY_END_TOK 0
- /* no semi-colon after return; correct usage is to write "yyterminate();" -
- * we don't want an extra ';' after the "return" because that will cause
- * some compilers to complain about unreachable statements.
- */
- #define yyterminate() return ( YY_NULL )
-
- /* code executed at the end of each rule */
- #define YY_BREAK break;
-
- /* #define YY_USER_ACTION */
- /* #define YY_USER_INIT */
-
-
- #ifndef YY_USE_CLASS
- /* copy whatever the last rule matched to the standard output */
- /* cast to (char *) is because for 8-bit chars, yy___text is (unsigned char *) */
- /* this used to be an fputs(), but since the string might contain NUL's,
- * we now use fwrite()
- */
- #define ECHO (void) fwrite( (char *) yy___text, yy___leng, 1, yy___out )
-
- /* gets input and stuffs it into "buf". number of characters read, or YY_NULL,
- * is returned in "result".
- */
- #ifdef _MSDOS
- #define YY_INPUT(buf,result,max_size) \
- if ( (result = fread(buf,1,max_size,yy___in)) < 0 ) \
- YY_FATAL_ERROR( "fread() in flex scanner failed" );
- #else
- #define YY_INPUT(buf,result,max_size) \
- if ( (result = read( fileno(yy___in), (char *) buf, max_size )) < 0 ) \
- YY_FATAL_ERROR( "read() in flex scanner failed" );
-
- #endif
- /* report a fatal error */
-
- /* The funky do-while is used to turn this macro definition into
- * a single C statement (which needs a semi-colon terminator).
- * This avoids problems with code like:
- *
- * if ( something_happens )
- * YY_FATAL_ERROR( "oops, the something happened" );
- * else
- * everything_okay();
- *
- * Prior to using the do-while the compiler would get upset at the
- * "else" because it interpreted the "if" statement as being all
- * done when it reached the ';' after the YY_FATAL_ERROR() call.
- */
-
- #define YY_FATAL_ERROR(msg) \
- do \
- { \
- (void) fputs( msg, stderr ); \
- (void) putc( '\n', stderr ); \
- exit( 1 ); \
- } \
- while ( 0 )
-
- /* default yywrap function - always treat EOF as an EOF */
- #define yywrap() 1
-
-
- /* default declaration of generated scanner - a define so the user can
- * easily add parameters
- */
- #define YY_DECL int yylex YY_PROTO(( void ))
- #else
- /* c++ */
- #define ECHO yy___echo()
- #define YY_INPUT(buf,result,max_size) \
- if ( yy___input((char *)buf, result,max_size) < 0 ) \
- YY_FATAL_ERROR( "YY_INPUT() in flex scanner failed" );
-
- #define YY_FATAL_ERROR(msg) yy___fatal_error(msg)
- #define yywrap() yy___wrap()
-
- #endif
- /***********************************/
- /* not to be changed */
- #define YY_NULL 0
- #define YY_END_OF_BUFFER_CHAR 0
- /* special action meaning "start processing a new file" */
- #define YY_NEW_FILE yy___newfile
- /* enter a start condition. This macro really ought to take a parameter,
- * but we do it the disgusting crufty way forced on us by the ()-less
- * definition of BEGIN
- */
- #define BEGIN yy_start = 1 + 2 *
-
- /* action number for EOF rule of a given start state */
- #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
-
-
-
- /* % section 1 definitions go here */
- #line 1 "scan.l"
- #define INITIAL 0
- /* scan.l - scanner for flex input */
- #line 5 "scan.l"
- /*-
- * Copyright (c) 1990 The Regents of the University of California.
- * All rights reserved.
- *
- * This code is derived from software contributed to Berkeley by
- * Vern Paxson.
- *
- * The United States Government has rights in this work pursuant
- * to contract no. DE-AC03-76SF00098 between the United States
- * Department of Energy and the University of California.
- *
- * Redistribution and use in source and binary forms are permitted provided
- * that: (1) source distributions retain this entire copyright notice and
- * comment, and (2) distributions including binaries display the following
- * acknowledgement: ``This product includes software developed by the
- * University of California, Berkeley and its contributors'' in the
- * documentation or other materials provided with the distribution and in
- * all advertising materials mentioning features or use of this software.
- * Neither the name of the University nor the names of its contributors may
- * be used to endorse or promote products derived from this software without
- * specific prior written permission.
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
- * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- */
-
- #ifndef lint
- static char rcsid[] =
- "@(#) $Header: /usr/fsys/odin/a/vern/flex/RCS/scan.l,v 2.9 90/06/27 23:48:34 vern Exp $ (LBL)";
- #endif
-
- #undef yywrap
-
- #include "flexdef.h"
- #include "parse.h"
-
- #define HEADER_ECHO fprintf(headerfile,"%s",yytext )
- #define ACTION_ECHO fprintf( temp_action_file, "%s", yytext )
- #define MARK_END_OF_PROLOG fprintf( temp_action_file, "%%%% end of prolog\n" );
-
- #undef YY_DECL
- #define YY_DECL \
- int flexscan()
-
- #define RETURNCHAR \
- yylval = yytext[0]; \
- return ( CHAR );
-
- #define RETURNNAME \
- (void) strcpy( nmstr, (char *) yytext ); \
- return ( NAME );
-
- #define PUT_BACK_STRING(str, start) \
- for ( i = strlen( (char *) (str) ) - 1; i >= start; --i ) \
- unput((str)[i])
-
- #define CHECK_REJECT(str) \
- if ( all_upper( str ) ) \
- reject = true;
-
- #define CHECK_YYMORE(str) \
- if ( all_lower( str ) ) \
- yymore_used = true;
- #define SECT2 1
- #define SECT2PROLOG 2
- #define SECT3 3
- #define CODEBLOCK 4
- #define PICKUPDEF 5
- #define SC 6
- #define CARETISBOL 7
- #define NUM 8
- #define QUOTE 9
- #define FIRSTCCL 10
- #define CCL 11
- #define ACTION 12
- #define RECOVER 13
- #define BRACEERROR 14
- #define C_COMMENT 15
- #define ACTION_COMMENT 16
- #define ACTION_STRING 17
- #define PERCENT_BRACE_ACTION 18
- #define USED_LIST 19
- #define CODEBLOCK_2 20
- #define XLATION 21
- #define HEADER_BLOC 22
- #define HEADER2_BLOC 23
- #define NAME_DECLARE 24
- #define DEFINE_DECLARE 25
- #define DEFINE_CONTENT 26
- #define YY_lex_FLEX_SCANNER
- #define YY_lex_CHAR unsigned char
- #line 1 "/u/icdc/rdt/tools/lib/flexskel.h"
- /* A lexical scanner header generated by flex */
- /* MODIFIED FOR C++ CLASS BY Alain Coetmeur: coetmeur(at)icdc.fr */
- /* Note that (at) mean the 'at' symbol that I cannot write */
- /* because it is expanded to the class name */
- /* made at Informatique-CDC, Research&development department */
- /* company from the Caisse Des Depots et Consignations */
-
-
- /*********************************************/
- /* SYSTEM dependent declaration, includes... */
- /*********************************************/
- /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
- #ifdef c_plusplus
- #ifndef __cplusplus
- #define __cplusplus
- #endif
- #endif
- #ifdef __cplusplus
- #ifndef YY_USE_PROTOS
- #define YY_USE_PROTOS
- #endif
- #ifndef YY_USE_CLASS
- #define YY_USE_CLASS
- #endif
- #else /* ! __cplusplus */
- #ifdef __STDC__
- #ifdef __GNUC__
- #else
- #endif /* __GNUC__ */
- #ifndef YY_USE_PROTOS
- #define YY_USE_PROTOS
- #endif
- #endif /* __STDC__ */
- #endif /* ! __cplusplus */
- /*********************************************/
- /* COMPILER DEPENDENT MACROS */
- /*********************************************/
- /* use prototypes in function declarations */
- #ifndef YY_PROTO
- #ifdef YY_USE_PROTOS
- #define YY_PROTO(proto) proto
- #else
- #define YY_PROTO(proto) ()
- #endif
- #endif
- #include <stdio.h>
-
-
-
-
- /* % here is the declaration from section1 %header{ */
- #line 86 "scan.l"
- #line 86 "scan.l"
- #line 562 "scan.l"
- #line 52 "/u/icdc/rdt/tools/lib/flexskel.h"
-
-
-
- #ifndef YY_lex_TEXT
- #define YY_lex_TEXT yytext
- #endif
- #ifndef YY_lex_LENG
- #define YY_lex_LENG yyleng
- #endif
- #ifndef YY_lex_IN
- #define YY_lex_IN yyin
- #endif
- #ifndef YY_lex_OUT
- #define YY_lex_OUT yyout
- #endif
- #ifndef YY_lex_LEX_RETURN
- #define YY_lex_LEX_RETURN int
- #else
- #ifndef YY_lex_LEX_DEFINED
- #define YY_lex_LEX_DEFINED
- #endif
- #endif
-
- #ifndef YY_lex_LEX
- #define YY_lex_LEX yylex
- #else
- #ifndef YY_lex_LEX_DEFINED
- #define YY_lex_LEX_DEFINED
- #endif
- #endif
-
- #ifndef YY_lex_LEX_PARAM
- #ifndef YY_USE_PROTOS
- #define YY_lex_LEX_PARAM
- #else
- #define YY_lex_LEX_PARAM void
- #endif
- #else
- #ifndef YY_lex_LEX_DEFINED
- #define YY_lex_LEX_DEFINED
- #endif
- #endif
-
- #ifndef YY_lex_LEX_PARAM_DEF
- #define YY_lex_LEX_PARAM_DEF
- #else
- #ifndef YY_lex_LEX_DEFINED
- #define YY_lex_LEX_DEFINED
- #endif
- #endif
-
- #ifndef YY_lex_RESTART
- #define YY_lex_RESTART yyrestart
- #endif
- #ifndef YY_lex_SWITCH_TO_BUFFER
- #define YY_lex_SWITCH_TO_BUFFER yy_switch_to_buffer
- #endif
- #ifndef YY_lex_LOAD_BUFFER_STATE
- #define YY_lex_LOAD_BUFFER_STATE yy_load_buffer_state
- #endif
-
- #ifndef YY_lex_CREATE_BUFFER
- #define YY_lex_CREATE_BUFFER yy_create_buffer
- #ifndef YY_USE_CLASS
- #ifndef yy_new_buffer
- #define yy_new_buffer yy_create_buffer
- #endif
- #endif
- #endif
- #ifndef YY_lex_DELETE_BUFFER
- #define YY_lex_DELETE_BUFFER yy_delete_buffer
- #endif
- #ifndef YY_lex_INIT_BUFFER
- #define YY_lex_INIT_BUFFER yy_init_buffer
- #endif
- #ifdef YY_lex_FLEX_DEBUG
- #ifndef YY_lex_DEBUG
- #define YY_lex_DEBUG 1
- #endif
- #else
- #ifndef YY_lex_DEBUG
- #define YY_lex_DEBUG 0
- #endif
- #endif
-
- #if YY_lex_DEBUG != 0
- #ifndef YY_lex_DEBUG_FLAG
- #define YY_lex_DEBUG_FLAG yy_flex_debug
- #endif
- #ifndef YY_lex_DEBUG_INIT
- #define YY_lex_DEBUG_INIT 1
- #endif
- #endif
-
-
-
-
- #ifndef YY_USE_CLASS
- typedef struct yy_buffer_state *YY_BUFFER_STATE;
-
- extern void YY_lex_RESTART YY_PROTO(( FILE *input_file ));
- extern void YY_lex_SWITCH_TO_BUFFER YY_PROTO(( YY_BUFFER_STATE new_buffer ));
- extern void YY_lex_LOAD_BUFFER_STATE YY_PROTO(( void ));
- extern YY_BUFFER_STATE YY_lex_CREATE_BUFFER YY_PROTO(( FILE *file, int size ));
- extern void YY_lex_DELETE_BUFFER YY_PROTO(( YY_BUFFER_STATE b ));
- extern void YY_lex_INIT_BUFFER YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
-
- #if YY_lex_DEBUG != 0
- extern int YY_lex_DEBUG_FLAG ;
- #endif
- extern YY_lex_CHAR *YY_lex_TEXT;
- extern int YY_lex_LENG;
- extern FILE *YY_lex_IN, *YY_lex_OUT;
- #ifdef YY_lex_LEX_DEFINED
- extern YY_lex_LEX_RETURN YY_lex_LEX ( YY_lex_LEX_PARAM )
- YY_lex_LEX_PARAM_DEF
- #else
- #ifndef YY_DECL
- extern YY_lex_LEX_RETURN YY_lex_LEX ( YY_lex_LEX_PARAM )
- YY_lex_LEX_PARAM_DEF
- #else
- /* no declaration if oldstyle flex */
- #endif
- #endif
- #else
-
- #ifndef YY_lex_CLASS
- #define YY_lex_CLASS lex
- #endif
- #ifndef YY_lex_ECHO
- #define YY_lex_ECHO yy_echo
- #endif
- #ifdef YY_lex_ECHO_PURE
- #define YY_lex_ECHO_NOCODE
- #endif
- #ifndef YY_lex_ECHO_CODE
- #define YY_lex_ECHO_CODE fwrite( (char *) YY_lex_TEXT, YY_lex_LENG, 1, YY_lex_OUT );
- #endif
- #ifndef YY_lex_INPUT
- #define YY_lex_INPUT yy_input
- #endif
- #ifdef YY_lex_INPUT_PURE
- #define YY_lex_INPUT_NOCODE
- #endif
- #ifndef YY_lex_INPUT_CODE
- #define YY_lex_INPUT_CODE return result= fread( buffer, 1,max_size,YY_lex_IN );
- #endif
- #ifdef YY_lex_FATAL_ERROR_PURE
- #define YY_lex_FATAL_ERRO_NOCODE
- #endif
- #ifndef YY_lex_FATAL_ERROR
- #define YY_lex_FATAL_ERROR yy_fatal_error
- #endif
- #ifndef YY_lex_FATAL_ERROR_CODE
- #define YY_lex_FATAL_ERROR_CODE fputs( msg, stderr );putc( '\n', stderr );exit( 1 );
- #endif
- #ifndef YY_lex_WRAP
- #define YY_lex_WRAP yy_wrap
- #endif
- #ifdef YY_lex_WRAP_PURE
- #define YY_lex_WRAP_NOCODE
- #endif
- #ifndef YY_lex_WRAP_CODE
- #define YY_lex_WRAP_CODE return 1;
- #endif
-
-
- #ifndef YY_lex_INHERIT
- #define YY_lex_INHERIT
- #endif
- #ifndef YY_lex_MEMBERS
- #define YY_lex_MEMBERS
- #endif
- #ifndef YY_lex_CONSTRUCTOR_PARAM
- #define YY_lex_CONSTRUCTOR_PARAM
- #endif
- #ifndef YY_lex_CONSTRUCTOR_CODE
- #define YY_lex_CONSTRUCTOR_CODE
- #endif
- #ifndef YY_lex_CONSTRUCTOR_INIT
- #define YY_lex_CONSTRUCTOR_INIT
- #endif
- typedef struct yy_buffer_state *YY_BUFFER_STATE;
-
- class YY_lex_CLASS YY_lex_INHERIT
- {
- private:/* data */
- YY_lex_CHAR *yy_c_buf_p;
- YY_lex_CHAR yy_hold_char;
- int yy_n_chars;
- int yy_init;
- int yy_start;
- int yy_did_buffer_switch_on_eof;
- private: /* functions */
- void yy_initialize();
- int input();
- int yyinput() {return input();};
- int yy_get_next_buffer();
- void yyunput( YY_lex_CHAR c, YY_lex_CHAR *buf_ptr );
- /* use long instead of yy_state_type because it is undef */
- long yy_get_previous_state_ ( void );
- long yy_try_NUL_trans_ ( long current_state_ );
- protected:/* non virtual */
- YY_BUFFER_STATE yy_current_buffer;
- void YY_lex_RESTART ( FILE *input_file );
- void YY_lex_SWITCH_TO_BUFFER( YY_BUFFER_STATE new_buffer );
- void YY_lex_LOAD_BUFFER_STATE( void );
- YY_BUFFER_STATE YY_lex_CREATE_BUFFER( FILE *file, int size );
- void YY_lex_DELETE_BUFFER( YY_BUFFER_STATE b );
- void YY_lex_INIT_BUFFER( YY_BUFFER_STATE b, FILE *file );
- protected: /* virtual */
- virtual void YY_lex_ECHO()
- #ifdef YY_lex_ECHO_PURE
- =0
- #endif
- ;
- virtual int YY_lex_INPUT(char *buf,int &result,int max_size)
- #ifdef YY_lex_INPUT_PURE
- =0
- #endif
- ;
- virtual void YY_lex_FATAL_ERROR(char *msg)
- #ifdef YY_lex_FATAL_ERROR_PURE
- =0
- #endif
- ;
- virtual int YY_lex_WRAP()
- #ifdef YY_lex_WRAP_PURE
- =0
- #endif
- ;
- public:
- YY_lex_CHAR *YY_lex_TEXT;
- int YY_lex_LENG;
- FILE *YY_lex_IN, *YY_lex_OUT;
- YY_lex_LEX_RETURN YY_lex_LEX ( YY_lex_LEX_PARAM);
- YY_lex_CLASS(YY_lex_CONSTRUCTOR_PARAM) ;
- #if YY_lex_DEBUG != 0
- int YY_lex_DEBUG_FLAG;
- #endif
- public: /* added members */
- YY_lex_MEMBERS
- };
- #endif
-
-
-
- /* declaration of externs for public use of yylex scanner */
-
- /* % here is the declaration from section2 %header{ */
- #line 196 "/u/icdc/rdt/tools/lib/flexskel.cc"
-
- #define yy___text YY_lex_TEXT
- #define yy___leng YY_lex_LENG
- #define yy___in YY_lex_IN
- #define yy___out YY_lex_OUT
- #define yy___newfile \
- do \
- { \
- YY_lex_INIT_BUFFER( yy_current_buffer, yy___in ); \
- YY_lex_LOAD_BUFFER_STATE(); \
- } \
- while ( 0 )
- #if YY_lex_DEBUG != 0
- #define yy___flex_debug YY_lex_DEBUG_FLAG
- #endif
-
-
- #ifdef YY_USE_CLASS
-
- #define yy___echo YY_lex_ECHO
- #define yy___input YY_lex_INPUT
- #define yy___fatal_error YY_lex_FATAL_ERROR
- #define yy___wrap YY_lex_WRAP
-
- #endif
-
- /* done after the current pattern has been matched and before the
- * corresponding action - sets up yy___text
- */
- #define YY_DO_BEFORE_ACTION \
- yy___text = yy_bp; \
- /* % code to fiddle yy___text and yy___leng for yymore() goes here */ \
- yy___leng = yy_cp - yy_bp; \
- yy_hold_char = *yy_cp; \
- *yy_cp = '\0'; \
- yy_c_buf_p = yy_cp;
-
- #define EOB_ACT_CONTINUE_SCAN 0
- #define EOB_ACT_END_OF_FILE 1
- #define EOB_ACT_LAST_MATCH 2
-
- /* return all but the first 'n' matched characters back to the input stream */
- #define yyless(n) \
- do \
- { \
- /* undo effects of setting up yy___text */ \
- *yy_cp = yy_hold_char; \
- yy_c_buf_p = yy_cp = yy_bp + n; \
- YY_DO_BEFORE_ACTION; /* set up yy___text again */ \
- } \
- while ( 0 )
-
- #define unput(c) yyunput( c, yy___text )
-
-
-
- struct yy_buffer_state
- {
- FILE *yy_input_file;
-
- YY_lex_CHAR *yy_ch_buf; /* input buffer */
- YY_lex_CHAR *yy_buf_pos; /* current position in input buffer */
-
- /* size of input buffer in bytes, not including room for EOB characters */
- int yy_buf_size;
-
- /* number of characters read into yy_ch_buf, not including EOB characters */
- int yy_n_chars;
-
- int yy_eof_status; /* whether we've seen an EOF on this buffer */
- #define EOF_NOT_SEEN 0
- /* "pending" happens when the EOF has been seen but there's still
- * some text process
- */
- #define EOF_PENDING 1
- #define EOF_DONE 2
- };
-
- /* we provide macros for accessing buffer states in case in the
- * future we want to put the buffer states in a more general
- * "scanner state"
- */
-
- #ifndef YY_USE_CLASS
-
- #if YY_lex_DEBUG != 0
- int YY_lex_DEBUG_FLAG=YY_lex_DEBUG_INIT;
- #endif
- #define YY_CURRENT_BUFFER yy_current_buffer
- static YY_BUFFER_STATE yy_current_buffer;
- /* yy_hold_char holds the character lost when yy___text is formed */
- static YY_lex_CHAR yy_hold_char;
-
- static int yy_n_chars; /* number of characters read into yy_ch_buf */
-
- /* GLOBAL */
- YY_lex_CHAR *yy___text;
- int yy___leng;
-
- FILE *yy___in = (FILE *) 0, *yy___out = (FILE *) 0;
-
- #ifdef __cplusplus
- static int yyinput YY_PROTO(( void ));
- #else
- static int input YY_PROTO(( void ));
- #endif
- /* these variables are all declared out here so that section 3 code can
- * manipulate them
- */
- /* points to current character in buffer */
- static YY_lex_CHAR *yy_c_buf_p = (YY_lex_CHAR *) 0;
- static int yy_init = 1; /* whether we need to initialize */
- static int yy_start = 0; /* start state number */
-
- /* flag which is used to allow yywrap()'s to do buffer switches
- * instead of setting up a fresh yy___in. A bit of a hack ...
- */
- static int yy_did_buffer_switch_on_eof;
-
- static int yy_get_next_buffer YY_PROTO(( void ));
- static void yyunput YY_PROTO(( YY_lex_CHAR c, YY_lex_CHAR *buf_ptr ));
-
- #else
- /* c++ */
- #ifndef YY_lex_ECHO_NOCODE
- void YY_lex_CLASS::yy___echo()
- {YY_lex_ECHO_CODE
- }
- #endif
- #ifndef YY_lex_INPUT_NOCODE
- int YY_lex_CLASS::yy___input(char * buffer,int &result,int max_size)
- {YY_lex_INPUT_CODE
- }
- #endif
- #ifndef YY_lex_FATAL_ERROR_NOCODE
- void YY_lex_CLASS::yy___fatal_error(char *msg)
- {YY_lex_FATAL_ERROR_CODE
- }
- #endif
- #ifndef YY_lex_WRAP_NOCODE
- int YY_lex_CLASS::yy___wrap()
- {YY_lex_WRAP_CODE
- }
- #endif
- void YY_lex_CLASS::yy_initialize()
- {
- yy___in=0;yy___out=0;yy_init = 1;
- yy_start=0;
- yy___text=0;yy___leng=0;
- yy_current_buffer=0;
- yy_did_buffer_switch_on_eof=0;
- yy_c_buf_p=0;yy_hold_char=0;yy_n_chars=0;
- #if YY_lex_DEBUG != 0
- YY_lex_DEBUG_FLAG=YY_lex_DEBUG_INIT;
- #endif
- }
-
- YY_lex_CLASS::YY_lex_CLASS(YY_lex_CONSTRUCTOR_PARAM) YY_lex_CONSTRUCTOR_INIT
- {yy_initialize();
- YY_lex_CONSTRUCTOR_CODE;
- }
-
- #endif
-
-
- #ifndef YY_USER_ACTION
- #define YY_USER_ACTION
- #endif
-
- #ifndef YY_USER_INIT
- #define YY_USER_INIT
- #endif
-
- /* % data tables for the DFA go here */
- #define YY_END_OF_BUFFER 147
- typedef int yy_state_type;
- static const short int yy_acclist[679] =
- { 0,
- 16469,16469, 145, 145, 147, 23, 146, 11, 23, 146,
- 22, 146, 22, 23, 146, 23, 146, 20, 23, 146,
- 1, 11, 23, 146, 21, 22, 146, 21, 22, 23,
- 146, 23, 146, 23, 146, 23, 146, 19, 20, 23,
- 146, 92, 146, 84, 92, 146,16469, 8277, 93, 146,
- 8277, 92, 93, 146, 78, 92, 146, 92, 146, 91,
- 92, 146, 76, 92, 146, 92, 146, 92, 146, 92,
- 146, 75, 84, 92, 146,16469, 73, 8277, 86, 93,
- 146, 73, 8277, 86, 92, 93, 146, 92, 146, 77,
- 92, 146, 146, 71, 146, 71, 146, 145, 146, 145,
-
- 146, 145, 146, 52, 146, 53, 146, 52, 53, 146,
- 52, 146, 52, 146, 52, 146, 52, 146, 55, 146,
- 54, 146, 56, 146, 56, 146, 98, 146, 146, 94,
- 98, 146, 95, 98, 146, 97, 98, 146, 99, 146,
- 113, 146, 114, 146, 113, 114, 146, 111, 113, 146,
- 110, 113, 146, 112, 113, 146, 100, 146, 102, 146,
- 102, 146, 101, 146, 100, 146, 106, 146, 105, 106,
- 146, 106, 146, 106, 146, 108, 146, 108, 146, 108,
- 146, 109, 146, 124, 131, 146, 130, 146, 130, 131,
- 146, 129, 131, 146, 131, 146, 131, 146, 125, 131,
-
- 146, 125, 131, 146, 125, 131, 146, 122, 131, 146,
- 123, 131, 146, 146, 57, 146, 57, 146, 116, 146,
- 116, 146, 115, 146, 36, 146, 38, 146, 38, 146,
- 37, 146, 133, 136, 146, 135, 146, 135, 136, 146,
- 134, 136, 146, 137, 141, 146, 139, 146, 139, 141,
- 146, 140, 141, 146, 141, 146, 120, 146, 120, 146,
- 121, 146, 120, 121, 146, 120, 146, 120, 146, 120,
- 146, 120, 146, 62, 146, 59, 146, 58, 146, 58,
- 146, 62, 146, 62, 146, 68, 146, 66, 68, 146,
- 69, 146, 68, 69, 146, 68, 146, 68, 146, 65,
-
- 68, 146, 65, 66, 68, 146, 65, 68, 69, 146,
- 65, 68, 146, 64, 65, 68, 146, 65, 68, 146,
- 42, 146, 43, 146, 42, 43, 146, 42, 146, 42,
- 146, 42, 146, 42, 146, 47, 146, 48, 146, 47,
- 48, 146, 47, 146, 47, 146, 47, 146, 47, 146,
- 27, 146, 25, 27, 146, 26, 146, 26, 27, 146,
- 24, 27, 146, 29, 146, 30, 146, 29, 30, 146,
- 28, 29, 146, 33, 146, 32, 146, 32, 33, 146,
- 33, 146, 11, 22, 22, 20, 1, 11, 21, 22,
- 21, 22, 2, 2, 18, 12, 18, 16, 18, 18,
-
- 5, 6, 4, 19, 20, 84,16469, 8277, 8277, 8277,
- 93, 81, 143, 143, 143, 80, 79, 80, 75, 84,
- 16469, 73, 8277, 86, 73, 8277, 86, 73, 8277, 86,
- 93, 88, 75, 71, 71, 70, 70, 71, 71, 145,
- 145, 145, 145, 145, 52, 53, 52, 52, 52, 52,
- 55, 54, 56, 96, 97, 114, 110, 102, 144, 144,
- 144, 103, 104, 107, 124, 130, 128, 127, 125, 125,
- 125, 57, 57, 57, 57, 116, 36, 38, 34, 133,
- 135, 132, 137, 139, 138, 120, 120, 120, 121, 117,
- 120, 120, 120, 120, 62, 59, 58, 62, 62, 66,
-
- 69, 67, 67, 67, 66, 64, 42, 43, 42, 42,
- 42, 42, 47, 48, 47, 47, 47, 47, 25, 26,
- 24, 30, 28, 32, 31, 31, 17, 17, 2, 2,
- 18, 12, 12, 18, 16, 5, 6, 9, 9, 3,
- 3, 82, 83, 83, 89, 143, 143, 80, 80, 90,
- 88, 52, 52, 52, 49, 49, 144, 144, 126, 126,
- 125, 125, 35, 35, 117, 120, 117, 120, 120, 62,
- 62, 63, 63, 67, 67, 42, 42, 42, 39, 39,
- 47, 47, 47, 44, 44, 15, 15, 5, 15, 17,
- 15, 17, 6, 9, 9, 3, 3, 83, 83, 143,
-
- 52, 52, 49, 49, 144, 126, 126, 125, 125, 35,
- 35, 120, 120, 62, 62, 67, 42, 42, 39, 39,
- 47, 47, 44, 44, 15, 15, 15, 15, 17, 13,
- 52, 52, 125, 125, 120, 120, 62, 62, 42, 42,
- 47, 47, 7, 50, 52, 51, 52, 118, 125, 119,
- 125, 118, 120, 119, 120, 60, 62, 61, 62, 40,
- 42, 41, 42, 45, 47, 46, 47, 14, 87, 8,
- 10, 10, 74, 74, 10, 10, 74, 74
- } ;
-
- static const short int yy_accept[531] =
- { 0,
- 1, 1, 1, 2, 3, 3, 3, 4, 5, 5,
- 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
- 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
- 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
- 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
- 5, 5, 5, 5, 5, 6, 8, 11, 13, 16,
- 18, 21, 25, 28, 32, 34, 36, 38, 42, 44,
- 48, 51, 55, 58, 60, 63, 66, 68, 70, 72,
- 77, 82, 88, 90, 93, 94, 96, 98, 100, 102,
- 104, 106, 108, 111, 113, 115, 117, 119, 121, 123,
-
- 125, 127, 129, 130, 133, 136, 139, 141, 143, 145,
- 148, 151, 154, 157, 159, 161, 163, 165, 167, 169,
- 172, 174, 176, 178, 180, 182, 184, 187, 189, 192,
- 195, 197, 199, 202, 205, 208, 211, 214, 215, 217,
- 219, 221, 223, 225, 227, 229, 231, 233, 236, 238,
- 241, 244, 247, 249, 252, 255, 257, 259, 261, 263,
- 266, 268, 270, 272, 274, 276, 278, 280, 282, 284,
- 286, 288, 291, 293, 296, 298, 300, 303, 307, 311,
- 314, 318, 321, 323, 325, 328, 330, 332, 334, 336,
- 338, 340, 343, 345, 347, 349, 351, 353, 356, 358,
-
- 361, 364, 366, 368, 371, 374, 376, 378, 381, 383,
- 384, 385, 386, 386, 387, 389, 391, 393, 393, 394,
- 395, 396, 398, 398, 399, 400, 401, 401, 402, 402,
- 402, 403, 403, 404, 404, 406, 408, 409, 410, 410,
- 410, 412, 413, 413, 413, 413, 414, 415, 416, 417,
- 418, 419, 422, 425, 428, 432, 433, 433, 434, 434,
- 435, 436, 437, 438, 440, 441, 442, 443, 445, 446,
- 447, 448, 449, 450, 451, 452, 453, 454, 455, 456,
- 457, 458, 459, 460, 461, 462, 463, 464, 465, 466,
- 467, 467, 468, 468, 469, 469, 470, 471, 472, 472,
-
- 473, 474, 476, 477, 478, 479, 480, 481, 482, 483,
- 484, 485, 486, 487, 488, 489, 490, 492, 493, 494,
- 495, 496, 497, 498, 499, 500, 501, 502, 502, 503,
- 504, 505, 506, 507, 508, 509, 510, 511, 512, 513,
- 514, 515, 516, 517, 518, 519, 520, 521, 522, 523,
- 524, 525, 526, 527, 527, 528, 529, 531, 532, 533,
- 535, 535, 536, 536, 536, 536, 537, 537, 537, 537,
- 538, 538, 539, 540, 540, 541, 542, 543, 543, 544,
- 545, 545, 546, 546, 546, 547, 548, 549, 550, 551,
- 552, 552, 553, 554, 555, 556, 557, 557, 558, 559,
-
- 559, 560, 561, 562, 563, 563, 564, 565, 567, 568,
- 569, 570, 571, 572, 572, 573, 574, 575, 576, 577,
- 578, 579, 580, 581, 581, 582, 583, 584, 585, 586,
- 586, 586, 586, 587, 588, 588, 588, 588, 589, 589,
- 591, 593, 593, 593, 594, 596, 598, 600, 600, 600,
- 600, 601, 601, 602, 603, 605, 606, 608, 609, 610,
- 612, 613, 614, 615, 616, 617, 618, 619, 621, 622,
- 623, 625, 627, 627, 627, 627, 630, 630, 631, 631,
- 631, 631, 631, 632, 633, 634, 635, 636, 637, 638,
- 639, 640, 641, 642, 643, 643, 643, 644, 644, 644,
-
- 644, 646, 648, 650, 652, 654, 656, 658, 660, 662,
- 664, 666, 668, 668, 668, 669, 670, 670, 671, 671,
- 671, 671, 672, 673, 673, 674, 675, 677, 679, 679
- } ;
-
- static const YY_CHAR yy_ec[256] =
- { 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
- 1, 4, 5, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 2, 1, 6, 7, 8, 9, 1, 10, 11,
- 11, 12, 11, 13, 14, 11, 15, 16, 16, 16,
- 16, 16, 16, 16, 16, 16, 16, 1, 1, 17,
- 1, 18, 11, 1, 24, 25, 26, 27, 28, 29,
- 23, 30, 31, 32, 33, 23, 34, 35, 36, 33,
- 23, 37, 38, 39, 40, 23, 23, 41, 42, 23,
- 19, 20, 21, 22, 23, 1, 24, 25, 26, 27,
-
- 28, 29, 23, 30, 31, 32, 33, 23, 34, 35,
- 36, 33, 23, 37, 38, 39, 40, 23, 23, 41,
- 42, 23, 43, 44, 45, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1
- } ;
-
- static const YY_CHAR yy_meta[46] =
- { 0,
- 1, 2, 3, 2, 4, 5, 1, 1, 1, 6,
- 1, 7, 1, 8, 6, 9, 1, 1, 1, 10,
- 11, 1, 12, 13, 13, 13, 13, 13, 13, 12,
- 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
- 12, 12, 6, 1, 14
- } ;
-
- static const short int yy_base[616] =
- { 0,
- 0, 45, 89, 132, 93, 100, 107, 108, 176, 2227,
- 112, 116, 221, 0, 2213, 2212, 126, 264, 150, 154,
- 147, 265, 268, 278, 309, 0, 119, 120, 123, 352,
- 160, 161, 281, 291, 353, 357, 397, 0, 441, 445,
- 0, 0, 362, 486, 506, 2224, 551, 2223, 596, 0,
- 641, 0, 271, 365, 2231, 2237, 302, 2237, 2227, 2190,
- 0, 376, 2237, 2225, 143, 678, 87, 0, 2237, 449,
- 2237, 2224, 2237, 381, 2237, 2209, 2205, 254, 721, 457,
- 2237, 2221, 454, 2237, 297, 0, 385, 369, 2237, 388,
- 0, 2237, 2220, 0, 2194, 2179, 2175, 0, 390, 2237,
-
- 2216, 2237, 2237, 2237, 2196, 0, 2237, 2237, 2237, 2214,
- 2237, 2200, 2237, 2237, 2237, 2212, 2237, 256, 2237, 2237,
- 439, 2200, 2237, 0, 440, 2237, 0, 2237, 2210, 2237,
- 447, 115, 0, 2184, 2169, 2237, 2237, 465, 2237, 466,
- 2237, 2207, 2237, 0, 2237, 2206, 2193, 0, 2237, 2137,
- 2097, 0, 2237, 2097, 2237, 0, 0, 470, 2237, 2096,
- 2021, 0, 2037, 2018, 0, 471, 2237, 2056, 2012, 1997,
- 2237, 490, 2237, 2031, 1994, 679, 2237, 687, 2025, 1988,
- 1978, 683, 0, 2237, 1990, 0, 1951, 1923, 1908, 0,
- 2237, 1949, 0, 1868, 1849, 1845, 2237, 494, 2237, 1882,
-
- 0, 2237, 2237, 1881, 0, 2237, 2237, 1876, 500, 765,
- 2237, 1875, 769, 0, 773, 2237, 1871, 685, 2237, 689,
- 694, 705, 708, 777, 778, 781, 784, 0, 787, 240,
- 0, 790, 2237, 791, 0, 795, 2237, 1870, 1822, 798,
- 2237, 2237, 1836, 355, 786, 2237, 1843, 0, 0, 2237,
- 839, 883, 2237, 1855, 2237, 0, 1826, 2237, 807, 0,
- 811, 2237, 814, 0, 815, 2237, 818, 2237, 0, 2237,
- 0, 1821, 1811, 927, 0, 820, 2237, 2237, 0, 2237,
- 1828, 2237, 2237, 1815, 0, 2237, 2237, 2237, 0, 2237,
- 466, 2237, 1825, 2237, 823, 0, 1785, 1782, 826, 2237,
-
- 827, 2237, 2237, 0, 2237, 830, 0, 2237, 2237, 0,
- 2237, 2237, 0, 887, 1770, 2237, 972, 0, 1779, 1776,
- 0, 832, 2237, 1774, 1771, 840, 2237, 895, 2237, 1781,
- 0, 891, 1780, 0, 2237, 0, 1750, 1741, 1017, 0,
- 2237, 0, 1738, 1735, 1062, 899, 2237, 0, 2237, 0,
- 2237, 2237, 1765, 906, 2237, 1752, 2237, 900, 0, 910,
- 913, 917, 1712, 1697, 1686, 0, 920, 1667, 1678, 0,
- 1105, 2237, 1106, 1109, 2237, 1110, 2237, 1113, 2237, 1114,
- 1662, 2237, 1104, 1110, 1681, 0, 0, 1139, 2237, 0,
- 1672, 1667, 1653, 0, 2237, 1118, 1124, 1666, 0, 1139,
-
- 2237, 1182, 1653, 1632, 1183, 2237, 1186, 0, 0, 1639,
- 1618, 1625, 1612, 1190, 2237, 1644, 1617, 0, 1600, 1586,
- 0, 2237, 1193, 1194, 1586, 1577, 0, 2237, 1197, 1198,
- 1201, 1205, 2237, 1208, 1541, 1544, 1542, 0, 1212, 2237,
- 1215, 1506, 1516, 0, 2237, 2237, 2237, 1508, 1112, 1205,
- 2237, 1503, 1503, 1487, 2237, 2237, 2237, 1497, 1454, 2237,
- 1464, 1211, 1201, 1182, 2237, 1186, 1168, 2237, 1164, 1085,
- 2237, 2237, 940, 898, 1220, 2237, 892, 2237, 895, 375,
- 444, 878, 866, 810, 798, 797, 772, 777, 748, 756,
- 687, 476, 446, 449, 341, 324, 1221, 281, 283, 253,
-
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 1224, 102, 2237, 2237, 64, 1233, 1233, 1236,
- 1237, 2237, 1240, 1241, 2237, 1244, 2237, 2237, 2237, 1249,
- 1263, 1277, 1291, 1305, 1319, 1333, 1347, 1361, 1375, 1389,
- 1403, 1417, 1431, 1445, 1459, 1473, 1480, 1493, 1507, 1513,
- 1526, 1540, 1554, 1568, 1582, 1596, 1610, 1617, 1630, 1637,
- 1650, 1664, 1678, 1692, 1703, 1710, 1723, 1737, 1751, 1765,
- 1779, 1793, 1800, 1813, 1827, 1841, 1848, 1861, 1868, 1874,
- 1880, 1893, 487, 688, 1907, 1921, 1935, 149, 1949, 1962,
- 1976, 1983, 684, 1996, 2010, 881, 2017, 2023, 2029, 2042,
-
- 2049, 2055, 2068, 2082, 1614, 2096, 2109, 2123, 1731, 2137,
- 1745, 2151, 2165, 2179, 2193
- } ;
-
- static const short int yy_def[616] =
- { 0,
- 529, 529, 530, 530, 531, 531, 532, 532, 529, 9,
- 533, 533, 529, 13, 534, 534, 535, 535, 536, 536,
- 537, 537, 538, 538, 529, 25, 539, 539, 534, 534,
- 540, 540, 541, 541, 542, 542, 529, 37, 543, 543,
- 37, 37, 544, 545, 529, 45, 529, 47, 529, 49,
- 529, 51, 546, 546, 529, 529, 529, 529, 529, 529,
- 547, 529, 529, 529, 548, 549, 529, 550, 529, 529,
- 529, 529, 529, 529, 529, 529, 551, 552, 529, 529,
- 529, 529, 529, 529, 553, 554, 555, 556, 529, 556,
- 557, 529, 529, 558, 558, 558, 557, 559, 529, 529,
-
- 529, 529, 529, 529, 529, 560, 529, 529, 529, 529,
- 529, 529, 529, 529, 529, 529, 529, 552, 529, 529,
- 561, 562, 529, 563, 552, 529, 564, 529, 529, 529,
- 565, 529, 566, 566, 566, 529, 529, 567, 529, 567,
- 529, 529, 529, 568, 529, 529, 529, 569, 529, 529,
- 529, 570, 529, 529, 529, 571, 572, 572, 529, 529,
- 572, 573, 573, 573, 574, 529, 529, 529, 574, 574,
- 529, 529, 529, 529, 529, 575, 529, 529, 529, 529,
- 529, 575, 576, 529, 529, 577, 577, 577, 576, 578,
- 529, 529, 579, 579, 579, 578, 529, 529, 529, 529,
-
- 580, 529, 529, 529, 581, 529, 529, 529, 529, 529,
- 529, 529, 529, 547, 529, 529, 529, 548, 529, 548,
- 529, 582, 529, 529, 529, 529, 529, 583, 529, 529,
- 584, 585, 529, 586, 550, 529, 529, 529, 529, 587,
- 529, 529, 529, 551, 551, 529, 529, 588, 589, 529,
- 529, 529, 529, 529, 529, 590, 529, 529, 553, 554,
- 555, 529, 553, 554, 556, 529, 556, 529, 557, 529,
- 558, 558, 558, 529, 591, 529, 529, 529, 592, 529,
- 529, 529, 529, 529, 593, 529, 529, 529, 564, 529,
- 565, 529, 565, 529, 594, 566, 566, 566, 567, 529,
-
- 567, 529, 529, 568, 529, 595, 569, 529, 529, 570,
- 529, 529, 572, 572, 572, 529, 529, 573, 573, 573,
- 574, 529, 529, 574, 574, 529, 529, 529, 529, 529,
- 596, 529, 529, 576, 529, 577, 577, 577, 529, 578,
- 529, 597, 597, 597, 529, 529, 529, 598, 529, 599,
- 529, 529, 529, 529, 529, 529, 529, 529, 582, 582,
- 600, 529, 529, 529, 529, 601, 600, 529, 529, 602,
- 603, 529, 603, 604, 529, 604, 529, 587, 529, 587,
- 529, 529, 551, 551, 529, 605, 606, 529, 529, 607,
- 529, 558, 558, 274, 529, 608, 608, 529, 609, 594,
-
- 529, 594, 566, 566, 595, 529, 595, 317, 610, 573,
- 573, 574, 574, 529, 529, 529, 529, 611, 577, 577,
- 339, 529, 612, 612, 597, 597, 345, 529, 613, 613,
- 600, 600, 529, 600, 529, 529, 529, 601, 600, 529,
- 600, 529, 529, 602, 529, 529, 529, 529, 551, 384,
- 529, 529, 558, 558, 529, 529, 529, 566, 566, 529,
- 573, 573, 574, 574, 529, 577, 577, 529, 597, 597,
- 529, 529, 529, 529, 529, 529, 529, 529, 529, 551,
- 551, 529, 558, 558, 566, 566, 573, 573, 574, 574,
- 577, 577, 597, 597, 529, 529, 529, 529, 529, 529,
-
- 558, 558, 566, 566, 573, 573, 574, 574, 577, 577,
- 597, 597, 529, 529, 529, 529, 529, 529, 614, 615,
- 614, 529, 614, 615, 529, 615, 529, 529, 0, 529,
- 529, 529, 529, 529, 529, 529, 529, 529, 529, 529,
- 529, 529, 529, 529, 529, 529, 529, 529, 529, 529,
- 529, 529, 529, 529, 529, 529, 529, 529, 529, 529,
- 529, 529, 529, 529, 529, 529, 529, 529, 529, 529,
- 529, 529, 529, 529, 529, 529, 529, 529, 529, 529,
- 529, 529, 529, 529, 529, 529, 529, 529, 529, 529,
- 529, 529, 529, 529, 529, 529, 529, 529, 529, 529,
-
- 529, 529, 529, 529, 529, 529, 529, 529, 529, 529,
- 529, 529, 529, 529, 529
- } ;
-
- static const short int yy_nxt[2283] =
- { 0,
- 56, 57, 58, 57, 59, 56, 56, 56, 60, 56,
- 56, 56, 56, 56, 56, 56, 56, 56, 56, 56,
- 56, 56, 61, 61, 61, 61, 61, 61, 61, 61,
- 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
- 61, 61, 56, 56, 56, 56, 62, 63, 62, 64,
- 56, 65, 56, 66, 56, 56, 56, 56, 56, 67,
- 56, 56, 56, 56, 56, 56, 56, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 56, 56, 56,
- 70, 71, 70, 72, 73, 86, 74, 87, 233, 75,
-
- 75, 234, 86, 75, 87, 76, 520, 77, 78, 89,
- 89, 90, 90, 99, 100, 99, 101, 99, 100, 99,
- 101, 139, 139, 140, 140, 141, 294, 142, 109, 295,
- 110, 79, 75, 80, 81, 80, 82, 73, 111, 74,
- 83, 112, 75, 75, 519, 219, 75, 220, 76, 103,
- 77, 78, 115, 84, 116, 117, 115, 386, 116, 117,
- 120, 386, 145, 145, 146, 146, 121, 143, 122, 118,
- 113, 147, 147, 118, 79, 75, 91, 91, 92, 91,
- 93, 91, 91, 91, 91, 91, 91, 91, 91, 91,
- 91, 91, 91, 91, 91, 91, 91, 91, 94, 94,
-
- 94, 94, 94, 94, 94, 94, 94, 94, 94, 94,
- 94, 94, 95, 94, 94, 94, 94, 96, 91, 91,
- 91, 102, 102, 103, 102, 102, 102, 102, 102, 102,
- 102, 102, 102, 104, 102, 102, 102, 102, 105, 102,
- 102, 102, 102, 106, 106, 106, 106, 106, 106, 106,
- 106, 106, 106, 106, 106, 106, 106, 106, 106, 106,
- 106, 106, 106, 102, 102, 102, 109, 103, 110, 247,
- 103, 247, 103, 207, 368, 208, 111, 369, 120, 112,
- 103, 124, 103, 149, 121, 150, 122, 125, 126, 517,
- 209, 124, 151, 149, 248, 150, 248, 125, 126, 260,
-
- 516, 261, 151, 210, 211, 210, 212, 515, 113, 127,
- 127, 128, 127, 129, 130, 127, 127, 127, 131, 127,
- 127, 127, 127, 132, 127, 127, 127, 127, 127, 127,
- 127, 133, 133, 133, 133, 133, 133, 133, 133, 133,
- 133, 133, 133, 133, 133, 134, 133, 133, 133, 133,
- 135, 136, 127, 137, 141, 153, 142, 154, 155, 153,
- 514, 154, 155, 172, 173, 172, 174, 207, 513, 208,
- 175, 266, 156, 267, 245, 382, 156, 215, 216, 215,
- 217, 176, 242, 242, 209, 242, 259, 264, 259, 261,
- 268, 276, 267, 276, 245, 382, 143, 157, 158, 159,
-
- 158, 160, 157, 157, 157, 161, 157, 157, 157, 157,
- 157, 157, 157, 157, 157, 157, 157, 157, 157, 162,
- 162, 162, 162, 162, 162, 162, 162, 162, 162, 162,
- 162, 162, 162, 163, 162, 162, 162, 162, 164, 157,
- 157, 157, 166, 167, 166, 168, 166, 167, 166, 168,
- 236, 237, 236, 238, 284, 247, 292, 239, 252, 253,
- 252, 254, 256, 245, 382, 239, 293, 300, 302, 301,
- 301, 314, 322, 314, 322, 292, 512, 169, 315, 285,
- 248, 169, 170, 257, 511, 293, 170, 178, 173, 178,
- 179, 326, 240, 326, 180, 346, 258, 346, 366, 366,
-
- 240, 181, 352, 510, 353, 182, 183, 183, 184, 183,
- 185, 183, 183, 183, 183, 183, 183, 183, 183, 183,
- 183, 183, 183, 183, 183, 183, 183, 183, 186, 186,
- 186, 186, 186, 186, 186, 186, 186, 186, 186, 186,
- 186, 186, 187, 186, 186, 186, 186, 188, 183, 183,
- 183, 190, 190, 191, 190, 192, 190, 190, 190, 190,
- 190, 190, 190, 190, 190, 190, 190, 190, 190, 190,
- 190, 190, 190, 193, 193, 193, 193, 193, 193, 193,
- 193, 193, 193, 193, 193, 193, 193, 194, 193, 193,
- 193, 193, 195, 190, 190, 190, 197, 198, 199, 198,
-
- 200, 197, 197, 197, 197, 197, 197, 197, 197, 197,
- 197, 197, 197, 197, 197, 197, 197, 197, 201, 201,
- 201, 201, 201, 201, 201, 201, 201, 201, 201, 201,
- 201, 201, 201, 201, 201, 201, 201, 201, 197, 197,
- 197, 202, 202, 203, 202, 204, 202, 202, 202, 202,
- 202, 202, 202, 202, 202, 202, 202, 202, 202, 202,
- 202, 202, 202, 205, 205, 205, 205, 205, 205, 205,
- 205, 205, 205, 205, 205, 205, 205, 205, 205, 205,
- 205, 205, 205, 202, 202, 202, 222, 219, 332, 220,
- 332, 357, 399, 220, 330, 358, 399, 358, 330, 370,
-
- 370, 223, 333, 224, 225, 223, 360, 226, 360, 361,
- 223, 361, 227, 223, 224, 228, 229, 230, 231, 331,
- 232, 249, 249, 331, 249, 509, 249, 249, 249, 249,
- 249, 249, 249, 249, 249, 249, 250, 249, 249, 249,
- 249, 249, 249, 251, 251, 251, 251, 251, 251, 251,
- 251, 251, 251, 251, 251, 251, 251, 251, 251, 251,
- 251, 251, 251, 249, 249, 249, 210, 211, 210, 212,
- 354, 355, 354, 356, 215, 216, 215, 217, 362, 358,
- 362, 358, 358, 508, 358, 361, 507, 361, 367, 355,
- 367, 356, 372, 375, 373, 376, 236, 237, 236, 238,
-
- 379, 383, 380, 239, 506, 363, 244, 365, 364, 260,
- 505, 261, 259, 264, 259, 261, 260, 266, 261, 267,
- 268, 276, 267, 276, 504, 401, 384, 402, 300, 302,
- 301, 301, 406, 322, 407, 322, 503, 502, 240, 387,
- 387, 326, 387, 326, 387, 387, 387, 387, 387, 387,
- 387, 387, 388, 387, 388, 387, 387, 387, 387, 387,
- 387, 388, 388, 388, 388, 388, 388, 388, 388, 388,
- 388, 388, 388, 388, 388, 388, 388, 388, 388, 388,
- 388, 387, 387, 389, 252, 253, 252, 254, 314, 418,
- 314, 239, 332, 418, 332, 315, 414, 415, 414, 416,
-
- 346, 358, 346, 358, 501, 500, 333, 354, 355, 354,
- 356, 360, 499, 360, 432, 433, 432, 434, 362, 498,
- 362, 439, 440, 439, 441, 496, 240, 394, 394, 395,
- 394, 396, 394, 394, 394, 394, 394, 394, 394, 394,
- 394, 394, 394, 394, 394, 394, 394, 394, 394, 397,
- 397, 397, 397, 397, 397, 397, 397, 397, 397, 397,
- 397, 397, 397, 397, 397, 397, 397, 397, 397, 394,
- 394, 394, 408, 408, 495, 408, 409, 408, 408, 408,
- 408, 408, 408, 408, 408, 408, 408, 408, 408, 408,
- 408, 408, 408, 408, 409, 409, 409, 409, 409, 409,
-
- 409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
- 409, 409, 409, 409, 408, 408, 408, 421, 421, 422,
- 421, 423, 421, 421, 421, 421, 421, 421, 421, 421,
- 421, 421, 421, 421, 421, 421, 421, 421, 421, 424,
- 424, 424, 424, 424, 424, 424, 424, 424, 424, 424,
- 424, 424, 424, 424, 424, 424, 424, 424, 424, 421,
- 421, 421, 427, 427, 428, 427, 429, 427, 427, 427,
- 427, 427, 427, 427, 427, 427, 427, 427, 427, 427,
- 427, 427, 427, 427, 430, 430, 430, 430, 430, 430,
- 430, 430, 430, 430, 430, 430, 430, 430, 430, 430,
-
- 430, 430, 430, 430, 427, 427, 427, 372, 445, 373,
- 373, 375, 446, 376, 376, 379, 447, 380, 380, 449,
- 455, 494, 396, 245, 382, 450, 395, 480, 396, 245,
- 382, 245, 382, 450, 450, 450, 450, 450, 450, 387,
- 387, 401, 387, 402, 387, 387, 387, 387, 387, 387,
- 387, 387, 388, 387, 388, 387, 387, 387, 387, 387,
- 387, 388, 388, 388, 388, 388, 388, 388, 388, 388,
- 388, 388, 388, 388, 388, 388, 388, 388, 388, 388,
- 388, 387, 387, 389, 457, 406, 402, 407, 460, 493,
- 407, 414, 415, 414, 416, 468, 422, 423, 423, 471,
-
- 428, 429, 429, 433, 492, 434, 432, 433, 432, 434,
- 472, 491, 434, 439, 440, 439, 441, 476, 490, 434,
- 481, 497, 497, 497, 497, 518, 489, 518, 481, 481,
- 481, 481, 481, 481, 518, 522, 518, 523, 525, 522,
- 526, 523, 527, 525, 523, 526, 528, 488, 526, 69,
- 69, 69, 69, 69, 69, 69, 69, 69, 69, 69,
- 69, 69, 69, 85, 85, 85, 85, 85, 85, 85,
- 85, 85, 85, 85, 85, 85, 85, 88, 88, 88,
- 88, 88, 88, 88, 88, 88, 88, 88, 88, 88,
- 88, 98, 98, 98, 98, 98, 98, 98, 98, 98,
-
- 98, 98, 98, 98, 98, 103, 103, 103, 103, 103,
- 103, 103, 103, 103, 103, 103, 103, 103, 103, 108,
- 108, 108, 108, 108, 108, 108, 108, 108, 108, 108,
- 108, 108, 108, 114, 114, 114, 114, 114, 114, 114,
- 114, 114, 114, 114, 114, 114, 114, 119, 119, 119,
- 119, 119, 119, 119, 119, 119, 119, 119, 119, 119,
- 119, 123, 123, 123, 123, 123, 123, 123, 123, 123,
- 123, 123, 123, 123, 123, 138, 138, 138, 138, 138,
- 138, 138, 138, 138, 138, 138, 138, 138, 138, 144,
- 144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
-
- 144, 144, 144, 148, 148, 148, 148, 148, 148, 148,
- 148, 148, 148, 148, 148, 148, 148, 152, 152, 152,
- 152, 152, 152, 152, 152, 152, 152, 152, 152, 152,
- 152, 165, 165, 165, 165, 165, 165, 165, 165, 165,
- 165, 165, 165, 165, 165, 171, 171, 171, 171, 171,
- 171, 171, 171, 171, 171, 171, 171, 171, 171, 177,
- 177, 177, 177, 177, 177, 177, 177, 177, 177, 177,
- 177, 177, 177, 206, 206, 206, 206, 206, 206, 206,
- 206, 206, 206, 206, 206, 206, 206, 214, 214, 487,
- 486, 214, 214, 218, 218, 218, 218, 218, 218, 218,
-
- 218, 218, 218, 218, 218, 218, 218, 221, 221, 221,
- 221, 221, 221, 221, 221, 221, 221, 221, 221, 221,
- 235, 235, 485, 484, 235, 235, 244, 244, 483, 482,
- 244, 244, 244, 244, 244, 244, 479, 244, 244, 244,
- 246, 246, 478, 477, 246, 246, 246, 246, 246, 246,
- 246, 246, 246, 246, 259, 259, 259, 259, 259, 259,
- 259, 259, 259, 259, 259, 259, 259, 259, 262, 475,
- 474, 473, 262, 262, 262, 262, 262, 262, 262, 262,
- 262, 262, 263, 263, 263, 263, 263, 263, 263, 263,
- 263, 263, 263, 263, 263, 263, 265, 265, 265, 265,
-
- 265, 265, 265, 265, 265, 265, 265, 265, 265, 265,
- 269, 269, 470, 469, 269, 269, 269, 269, 269, 269,
- 269, 467, 451, 269, 271, 271, 451, 466, 271, 271,
- 275, 275, 329, 275, 275, 275, 275, 275, 275, 275,
- 275, 275, 275, 275, 279, 279, 415, 464, 279, 279,
- 283, 283, 463, 462, 283, 283, 283, 283, 283, 283,
- 283, 283, 283, 283, 286, 286, 461, 459, 286, 286,
- 286, 286, 286, 286, 286, 286, 286, 286, 288, 288,
- 458, 283, 288, 288, 288, 288, 288, 288, 454, 288,
- 288, 288, 289, 289, 453, 452, 246, 448, 289, 289,
-
- 289, 289, 289, 291, 291, 443, 442, 291, 291, 291,
- 291, 291, 291, 291, 291, 291, 291, 296, 296, 437,
- 436, 296, 296, 299, 299, 299, 299, 299, 299, 299,
- 299, 299, 299, 299, 299, 299, 299, 304, 304, 456,
- 435, 304, 304, 456, 304, 304, 304, 304, 304, 304,
- 304, 307, 307, 465, 355, 307, 307, 465, 307, 307,
- 307, 307, 307, 307, 307, 310, 310, 352, 426, 425,
- 310, 310, 310, 310, 420, 310, 310, 310, 310, 312,
- 312, 419, 312, 312, 312, 312, 312, 312, 312, 312,
- 312, 312, 312, 313, 313, 333, 417, 313, 313, 313,
-
- 313, 313, 313, 313, 413, 412, 313, 318, 318, 411,
- 410, 318, 318, 321, 317, 404, 403, 321, 321, 321,
- 321, 321, 321, 321, 321, 321, 321, 329, 329, 291,
- 398, 329, 329, 329, 329, 329, 329, 329, 329, 329,
- 329, 334, 334, 281, 393, 334, 334, 334, 334, 334,
- 334, 334, 392, 391, 334, 336, 336, 253, 385, 336,
- 336, 340, 340, 381, 377, 340, 340, 340, 340, 340,
- 340, 340, 237, 216, 340, 342, 342, 211, 351, 342,
- 342, 348, 348, 349, 347, 348, 348, 350, 350, 345,
- 344, 350, 350, 359, 359, 343, 359, 359, 359, 359,
-
- 359, 359, 359, 359, 359, 359, 359, 371, 371, 371,
- 371, 371, 371, 371, 371, 371, 371, 371, 371, 371,
- 371, 374, 374, 374, 374, 374, 374, 374, 374, 374,
- 374, 374, 374, 374, 374, 378, 378, 378, 378, 378,
- 378, 378, 378, 378, 378, 378, 378, 378, 378, 387,
- 387, 341, 339, 387, 387, 387, 387, 387, 387, 387,
- 387, 387, 390, 390, 338, 390, 390, 390, 390, 390,
- 390, 390, 390, 390, 390, 390, 275, 275, 337, 275,
- 275, 275, 275, 275, 275, 275, 275, 275, 275, 275,
- 279, 279, 335, 333, 279, 279, 400, 400, 400, 400,
-
- 400, 400, 400, 400, 400, 400, 400, 400, 400, 400,
- 405, 405, 405, 405, 405, 405, 405, 405, 405, 405,
- 405, 405, 405, 405, 342, 342, 328, 327, 342, 342,
- 348, 348, 328, 327, 348, 348, 350, 350, 325, 324,
- 350, 350, 431, 431, 431, 431, 431, 431, 431, 431,
- 431, 431, 431, 431, 431, 431, 438, 438, 323, 320,
- 438, 438, 444, 444, 319, 317, 444, 444, 371, 371,
- 371, 371, 371, 371, 371, 371, 371, 371, 371, 371,
- 371, 371, 374, 374, 374, 374, 374, 374, 374, 374,
- 374, 374, 374, 374, 374, 374, 387, 387, 316, 311,
-
- 387, 387, 387, 387, 387, 387, 387, 387, 387, 390,
- 390, 309, 390, 390, 390, 390, 390, 390, 390, 390,
- 390, 390, 390, 397, 397, 397, 397, 397, 397, 397,
- 397, 397, 397, 397, 397, 397, 397, 409, 409, 308,
- 409, 409, 409, 409, 409, 409, 409, 409, 409, 409,
- 409, 424, 424, 424, 424, 424, 424, 424, 424, 424,
- 424, 424, 424, 424, 424, 430, 430, 430, 430, 430,
- 430, 430, 430, 430, 430, 430, 430, 430, 430, 521,
- 521, 521, 521, 521, 521, 521, 521, 521, 521, 521,
- 521, 521, 521, 524, 524, 524, 524, 524, 524, 524,
-
- 524, 524, 524, 524, 524, 524, 524, 306, 305, 303,
- 298, 297, 290, 287, 282, 281, 280, 278, 277, 274,
- 273, 272, 270, 255, 245, 243, 241, 216, 213, 211,
- 529, 196, 189, 107, 107, 97, 55, 529, 529, 529,
- 529, 529, 529, 529, 529, 529, 529, 529, 529, 529,
- 529, 529, 529, 529, 529, 529, 529, 529, 529, 529,
- 529, 529, 529, 529, 529, 529, 529, 529, 529, 529,
- 529, 529, 529, 529, 529, 529, 529, 529, 529, 529,
- 529, 529
- } ;
-
- static const short int yy_chk[2283] =
- { 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 3, 3, 3, 3, 3, 5, 3, 5, 67, 3,
-
- 3, 67, 6, 3, 6, 3, 517, 3, 3, 7,
- 8, 7, 8, 11, 11, 11, 11, 12, 12, 12,
- 12, 27, 28, 27, 28, 29, 132, 29, 17, 132,
- 17, 3, 3, 4, 4, 4, 4, 4, 17, 4,
- 4, 17, 4, 4, 514, 65, 4, 65, 4, 21,
- 4, 4, 19, 4, 19, 19, 20, 588, 20, 20,
- 21, 588, 31, 32, 31, 32, 21, 29, 21, 19,
- 17, 31, 32, 20, 4, 4, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
-
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 13, 13, 13, 13, 13, 13, 13, 13, 13,
- 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
- 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
- 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
- 13, 13, 13, 13, 13, 13, 18, 22, 18, 78,
- 23, 118, 23, 53, 230, 53, 18, 230, 22, 18,
- 24, 23, 24, 33, 22, 33, 22, 23, 23, 500,
- 53, 24, 33, 34, 78, 34, 118, 24, 24, 85,
-
- 499, 85, 34, 57, 57, 57, 57, 498, 18, 25,
- 25, 25, 25, 25, 25, 25, 25, 25, 25, 25,
- 25, 25, 25, 25, 25, 25, 25, 25, 25, 25,
- 25, 25, 25, 25, 25, 25, 25, 25, 25, 25,
- 25, 25, 25, 25, 25, 25, 25, 25, 25, 25,
- 25, 25, 25, 25, 30, 35, 30, 35, 35, 36,
- 496, 36, 36, 43, 43, 43, 43, 54, 495, 54,
- 43, 88, 35, 88, 244, 244, 36, 62, 62, 62,
- 62, 43, 74, 74, 54, 74, 87, 87, 87, 87,
- 90, 99, 90, 99, 480, 480, 30, 37, 37, 37,
-
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 39, 39, 39, 39, 40, 40, 40, 40,
- 70, 70, 70, 70, 121, 125, 131, 70, 80, 80,
- 80, 80, 83, 481, 481, 80, 131, 138, 140, 138,
- 140, 158, 166, 158, 166, 291, 494, 39, 158, 121,
- 125, 40, 39, 83, 493, 291, 40, 44, 44, 44,
- 44, 172, 70, 172, 44, 198, 83, 198, 583, 583,
-
- 80, 44, 209, 492, 209, 44, 45, 45, 45, 45,
- 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
- 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
- 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
- 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
- 45, 47, 47, 47, 47, 47, 47, 47, 47, 47,
- 47, 47, 47, 47, 47, 47, 47, 47, 47, 47,
- 47, 47, 47, 47, 47, 47, 47, 47, 47, 47,
- 47, 47, 47, 47, 47, 47, 47, 47, 47, 47,
- 47, 47, 47, 47, 47, 47, 49, 49, 49, 49,
-
- 49, 49, 49, 49, 49, 49, 49, 49, 49, 49,
- 49, 49, 49, 49, 49, 49, 49, 49, 49, 49,
- 49, 49, 49, 49, 49, 49, 49, 49, 49, 49,
- 49, 49, 49, 49, 49, 49, 49, 49, 49, 49,
- 49, 51, 51, 51, 51, 51, 51, 51, 51, 51,
- 51, 51, 51, 51, 51, 51, 51, 51, 51, 51,
- 51, 51, 51, 51, 51, 51, 51, 51, 51, 51,
- 51, 51, 51, 51, 51, 51, 51, 51, 51, 51,
- 51, 51, 51, 51, 51, 51, 66, 218, 178, 218,
- 178, 220, 593, 220, 176, 221, 593, 221, 182, 584,
-
- 584, 66, 178, 66, 66, 66, 222, 66, 222, 223,
- 66, 223, 66, 66, 66, 66, 66, 66, 66, 176,
- 66, 79, 79, 182, 79, 491, 79, 79, 79, 79,
- 79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
- 79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
- 79, 79, 79, 79, 79, 79, 79, 79, 79, 79,
- 79, 79, 79, 79, 79, 79, 210, 210, 210, 210,
- 213, 213, 213, 213, 215, 215, 215, 215, 224, 225,
- 224, 225, 226, 490, 226, 227, 489, 227, 229, 229,
- 229, 229, 232, 234, 232, 234, 236, 236, 236, 236,
-
- 240, 245, 240, 236, 488, 225, 245, 227, 226, 259,
- 487, 259, 261, 261, 261, 261, 263, 265, 263, 265,
- 267, 276, 267, 276, 486, 295, 245, 295, 299, 301,
- 299, 301, 306, 322, 306, 322, 485, 484, 236, 251,
- 251, 326, 251, 326, 251, 251, 251, 251, 251, 251,
- 251, 251, 251, 251, 251, 251, 251, 251, 251, 251,
- 251, 251, 251, 251, 251, 251, 251, 251, 251, 251,
- 251, 251, 251, 251, 251, 251, 251, 251, 251, 251,
- 251, 251, 251, 251, 252, 252, 252, 252, 314, 596,
- 314, 252, 332, 596, 332, 314, 328, 328, 328, 328,
-
- 346, 358, 346, 358, 483, 482, 332, 354, 354, 354,
- 354, 360, 479, 360, 361, 361, 361, 361, 362, 477,
- 362, 367, 367, 367, 367, 474, 252, 274, 274, 274,
- 274, 274, 274, 274, 274, 274, 274, 274, 274, 274,
- 274, 274, 274, 274, 274, 274, 274, 274, 274, 274,
- 274, 274, 274, 274, 274, 274, 274, 274, 274, 274,
- 274, 274, 274, 274, 274, 274, 274, 274, 274, 274,
- 274, 274, 317, 317, 473, 317, 317, 317, 317, 317,
- 317, 317, 317, 317, 317, 317, 317, 317, 317, 317,
- 317, 317, 317, 317, 317, 317, 317, 317, 317, 317,
-
- 317, 317, 317, 317, 317, 317, 317, 317, 317, 317,
- 317, 317, 317, 317, 317, 317, 317, 339, 339, 339,
- 339, 339, 339, 339, 339, 339, 339, 339, 339, 339,
- 339, 339, 339, 339, 339, 339, 339, 339, 339, 339,
- 339, 339, 339, 339, 339, 339, 339, 339, 339, 339,
- 339, 339, 339, 339, 339, 339, 339, 339, 339, 339,
- 339, 339, 345, 345, 345, 345, 345, 345, 345, 345,
- 345, 345, 345, 345, 345, 345, 345, 345, 345, 345,
- 345, 345, 345, 345, 345, 345, 345, 345, 345, 345,
- 345, 345, 345, 345, 345, 345, 345, 345, 345, 345,
-
- 345, 345, 345, 345, 345, 345, 345, 371, 373, 371,
- 373, 374, 376, 374, 376, 378, 380, 378, 380, 383,
- 396, 470, 396, 383, 383, 384, 397, 449, 397, 384,
- 384, 449, 449, 384, 384, 384, 384, 384, 384, 388,
- 388, 400, 388, 400, 388, 388, 388, 388, 388, 388,
- 388, 388, 388, 388, 388, 388, 388, 388, 388, 388,
- 388, 388, 388, 388, 388, 388, 388, 388, 388, 388,
- 388, 388, 388, 388, 388, 388, 388, 388, 388, 388,
- 388, 388, 388, 388, 402, 405, 402, 405, 407, 469,
- 407, 414, 414, 414, 414, 423, 424, 423, 424, 429,
-
- 430, 429, 430, 431, 467, 431, 432, 432, 432, 432,
- 434, 466, 434, 439, 439, 439, 439, 441, 464, 441,
- 450, 475, 497, 475, 497, 513, 463, 513, 450, 450,
- 450, 450, 450, 450, 518, 519, 518, 519, 520, 521,
- 520, 521, 523, 524, 523, 524, 526, 462, 526, 530,
- 530, 530, 530, 530, 530, 530, 530, 530, 530, 530,
- 530, 530, 530, 531, 531, 531, 531, 531, 531, 531,
- 531, 531, 531, 531, 531, 531, 531, 532, 532, 532,
- 532, 532, 532, 532, 532, 532, 532, 532, 532, 532,
- 532, 533, 533, 533, 533, 533, 533, 533, 533, 533,
-
- 533, 533, 533, 533, 533, 534, 534, 534, 534, 534,
- 534, 534, 534, 534, 534, 534, 534, 534, 534, 535,
- 535, 535, 535, 535, 535, 535, 535, 535, 535, 535,
- 535, 535, 535, 536, 536, 536, 536, 536, 536, 536,
- 536, 536, 536, 536, 536, 536, 536, 537, 537, 537,
- 537, 537, 537, 537, 537, 537, 537, 537, 537, 537,
- 537, 538, 538, 538, 538, 538, 538, 538, 538, 538,
- 538, 538, 538, 538, 538, 539, 539, 539, 539, 539,
- 539, 539, 539, 539, 539, 539, 539, 539, 539, 540,
- 540, 540, 540, 540, 540, 540, 540, 540, 540, 540,
-
- 540, 540, 540, 541, 541, 541, 541, 541, 541, 541,
- 541, 541, 541, 541, 541, 541, 541, 542, 542, 542,
- 542, 542, 542, 542, 542, 542, 542, 542, 542, 542,
- 542, 543, 543, 543, 543, 543, 543, 543, 543, 543,
- 543, 543, 543, 543, 543, 544, 544, 544, 544, 544,
- 544, 544, 544, 544, 544, 544, 544, 544, 544, 545,
- 545, 545, 545, 545, 545, 545, 545, 545, 545, 545,
- 545, 545, 545, 546, 546, 546, 546, 546, 546, 546,
- 546, 546, 546, 546, 546, 546, 546, 547, 547, 461,
- 459, 547, 547, 548, 548, 548, 548, 548, 548, 548,
-
- 548, 548, 548, 548, 548, 548, 548, 549, 549, 549,
- 549, 549, 549, 549, 549, 549, 549, 549, 549, 549,
- 550, 550, 458, 454, 550, 550, 551, 551, 453, 452,
- 551, 551, 551, 551, 551, 551, 448, 551, 551, 551,
- 552, 552, 443, 442, 552, 552, 552, 552, 552, 552,
- 552, 552, 552, 552, 553, 553, 553, 553, 553, 553,
- 553, 553, 553, 553, 553, 553, 553, 553, 554, 437,
- 436, 435, 554, 554, 554, 554, 554, 554, 554, 554,
- 554, 554, 555, 555, 555, 555, 555, 555, 555, 555,
- 555, 555, 555, 555, 555, 555, 556, 556, 556, 556,
-
- 556, 556, 556, 556, 556, 556, 556, 556, 556, 556,
- 557, 557, 426, 425, 557, 557, 557, 557, 557, 557,
- 557, 420, 605, 557, 558, 558, 605, 419, 558, 558,
- 559, 559, 417, 559, 559, 559, 559, 559, 559, 559,
- 559, 559, 559, 559, 560, 560, 416, 413, 560, 560,
- 561, 561, 412, 411, 561, 561, 561, 561, 561, 561,
- 561, 561, 561, 561, 562, 562, 410, 404, 562, 562,
- 562, 562, 562, 562, 562, 562, 562, 562, 563, 563,
- 403, 398, 563, 563, 563, 563, 563, 563, 393, 563,
- 563, 563, 564, 564, 392, 391, 385, 381, 564, 564,
-
- 564, 564, 564, 565, 565, 369, 368, 565, 565, 565,
- 565, 565, 565, 565, 565, 565, 565, 566, 566, 365,
- 364, 566, 566, 567, 567, 567, 567, 567, 567, 567,
- 567, 567, 567, 567, 567, 567, 567, 568, 568, 609,
- 363, 568, 568, 609, 568, 568, 568, 568, 568, 568,
- 568, 569, 569, 611, 356, 569, 569, 611, 569, 569,
- 569, 569, 569, 569, 569, 570, 570, 353, 344, 343,
- 570, 570, 570, 570, 338, 570, 570, 570, 570, 571,
- 571, 337, 571, 571, 571, 571, 571, 571, 571, 571,
- 571, 571, 571, 572, 572, 333, 330, 572, 572, 572,
-
- 572, 572, 572, 572, 325, 324, 572, 573, 573, 320,
- 319, 573, 573, 574, 315, 298, 297, 574, 574, 574,
- 574, 574, 574, 574, 574, 574, 574, 575, 575, 293,
- 284, 575, 575, 575, 575, 575, 575, 575, 575, 575,
- 575, 576, 576, 281, 273, 576, 576, 576, 576, 576,
- 576, 576, 272, 257, 576, 577, 577, 254, 247, 577,
- 577, 578, 578, 243, 239, 578, 578, 578, 578, 578,
- 578, 578, 238, 217, 578, 579, 579, 212, 208, 579,
- 579, 580, 580, 204, 200, 580, 580, 581, 581, 196,
- 195, 581, 581, 582, 582, 194, 582, 582, 582, 582,
-
- 582, 582, 582, 582, 582, 582, 582, 585, 585, 585,
- 585, 585, 585, 585, 585, 585, 585, 585, 585, 585,
- 585, 586, 586, 586, 586, 586, 586, 586, 586, 586,
- 586, 586, 586, 586, 586, 587, 587, 587, 587, 587,
- 587, 587, 587, 587, 587, 587, 587, 587, 587, 589,
- 589, 192, 189, 589, 589, 589, 589, 589, 589, 589,
- 589, 589, 590, 590, 188, 590, 590, 590, 590, 590,
- 590, 590, 590, 590, 590, 590, 591, 591, 187, 591,
- 591, 591, 591, 591, 591, 591, 591, 591, 591, 591,
- 592, 592, 185, 181, 592, 592, 594, 594, 594, 594,
-
- 594, 594, 594, 594, 594, 594, 594, 594, 594, 594,
- 595, 595, 595, 595, 595, 595, 595, 595, 595, 595,
- 595, 595, 595, 595, 597, 597, 180, 179, 597, 597,
- 598, 598, 175, 174, 598, 598, 599, 599, 170, 169,
- 599, 599, 600, 600, 600, 600, 600, 600, 600, 600,
- 600, 600, 600, 600, 600, 600, 601, 601, 168, 164,
- 601, 601, 602, 602, 163, 161, 602, 602, 603, 603,
- 603, 603, 603, 603, 603, 603, 603, 603, 603, 603,
- 603, 603, 604, 604, 604, 604, 604, 604, 604, 604,
- 604, 604, 604, 604, 604, 604, 606, 606, 160, 154,
-
- 606, 606, 606, 606, 606, 606, 606, 606, 606, 607,
- 607, 151, 607, 607, 607, 607, 607, 607, 607, 607,
- 607, 607, 607, 608, 608, 608, 608, 608, 608, 608,
- 608, 608, 608, 608, 608, 608, 608, 610, 610, 150,
- 610, 610, 610, 610, 610, 610, 610, 610, 610, 610,
- 610, 612, 612, 612, 612, 612, 612, 612, 612, 612,
- 612, 612, 612, 612, 612, 613, 613, 613, 613, 613,
- 613, 613, 613, 613, 613, 613, 613, 613, 613, 614,
- 614, 614, 614, 614, 614, 614, 614, 614, 614, 614,
- 614, 614, 614, 615, 615, 615, 615, 615, 615, 615,
-
- 615, 615, 615, 615, 615, 615, 615, 147, 146, 142,
- 135, 134, 129, 122, 116, 112, 110, 105, 101, 97,
- 96, 95, 93, 82, 77, 76, 72, 64, 60, 59,
- 55, 48, 46, 16, 15, 10, 529, 529, 529, 529,
- 529, 529, 529, 529, 529, 529, 529, 529, 529, 529,
- 529, 529, 529, 529, 529, 529, 529, 529, 529, 529,
- 529, 529, 529, 529, 529, 529, 529, 529, 529, 529,
- 529, 529, 529, 529, 529, 529, 529, 529, 529, 529,
- 529, 529
- } ;
-
- static yy_state_type yy_last_accepting_state;
- static YY_CHAR *yy_last_accepting_cpos;
-
- #if YY_lex_DEBUG != 0
- static const short int yy_rule_linenum[146] =
- { 0,
- 92, 93, 94, 95, 96, 97, 98, 99, 102, 108,
- 114, 116, 131, 135, 142, 151, 153, 170, 172, 178,
- 179, 180, 181, 186, 187, 188, 189, 191, 197, 198,
- 200, 201, 202, 204, 205, 206, 207, 208, 210, 211,
- 212, 213, 214, 220, 221, 222, 223, 224, 232, 233,
- 234, 235, 236, 244, 246, 261, 268, 271, 272, 273,
- 279, 285, 288, 289, 290, 291, 293, 298, 304, 307,
- 314, 314, 318, 320, 324, 335, 336, 337, 338, 339,
- 340, 342, 347, 349, 360, 367, 369, 371, 377, 406,
- 425, 426, 427, 430, 431, 432, 433, 434, 436, 439,
-
- 440, 442, 450, 451, 452, 453, 455, 456, 457, 460,
- 465, 466, 468, 474, 482, 483, 486, 487, 491, 495,
- 496, 512, 513, 514, 515, 516, 517, 518, 519, 520,
- 529, 531, 532, 533, 534, 535, 537, 538, 539, 540,
- 541, 541, 549, 554, 561
- } ;
-
- #endif
- static yy_state_type yy_state_buf[YY_BUF_SIZE + 2], *yy_state_ptr;
- static YY_CHAR *yy_full_match;
- static int yy_lp;
- static int yy_looking_for_trail_begin = 0;
- static int yy_full_lp;
- static int *yy_full_state;
- #define YY_TRAILING_MASK 0x2000
- #define YY_TRAILING_HEAD_MASK 0x4000
- #define REJECT \
- { \
- *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ \
- yy_cp = yy_full_match; /* restore poss. backed-over text */ \
- yy_lp = yy_full_lp; /* restore orig. accepting pos. */ \
- yy_state_ptr = yy_full_state; /* restore orig. state */ \
- yy_current_state = *yy_state_ptr; /* restore curr. state */ \
- ++yy_lp; \
- goto find_rule; \
- }
- #define yymore() yymore_used_but_not_detected
- #define YY_MORE_ADJ 0
- #line 369 "/u/icdc/rdt/tools/lib/flexskel.cc"
- #ifndef YY_USE_CLASS
- static yy_state_type yy_get_previous_state YY_PROTO(( void ));
- static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
- #else
- #define yy_get_previous_state() ((yy_state_type)(yy_get_previous_state_()))
- #define yy_try_NUL_trans(c) ((yy_state_type)(yy_try_NUL_trans_(c)))
- #endif
-
- #ifndef YY_USE_CLASS
- #ifdef YY_lex_LEX_DEFINED
- YY_lex_LEX_RETURN YY_lex_LEX ( YY_lex_LEX_PARAM )
- YY_lex_LEX_PARAM_DEF
- #else
- YY_DECL
- #endif
- #else
- YY_lex_LEX_RETURN YY_lex_CLASS::YY_lex_LEX ( YY_lex_LEX_PARAM)
-
- #endif
- {
- register yy_state_type yy_current_state;
- register YY_lex_CHAR *yy_cp, *yy_bp;
- register int yy_act;
-
- /* % user's declarations go here */
-
- static int bracelevel, didadef;
- int i, indented_code, checking_used, new_xlation;
- int doing_codeblock = false;
- Char nmdef[MAXLINE], myesc();
-
- /* % end of prolog */
- #line 394 "/u/icdc/rdt/tools/lib/flexskel.cc"
-
- if ( yy_init )
- {
-
- {
- YY_USER_INIT;
- }
- if ( ! yy_start )
- yy_start = 1; /* first start state */
-
- if ( ! yy___in )
- yy___in = stdin;
-
- if ( ! yy___out )
- yy___out = stdout;
-
- if ( yy_current_buffer )
- YY_lex_INIT_BUFFER( yy_current_buffer, yy___in );
- else
- yy_current_buffer = YY_lex_CREATE_BUFFER( yy___in, YY_BUF_SIZE );
-
- YY_lex_LOAD_BUFFER_STATE();
- yy_init=0;
- }
-
- while ( 1 ) /* loops until end-of-file is reached */
- {
- /* % yymore()-related code goes here */
- #line 422 "/u/icdc/rdt/tools/lib/flexskel.cc"
- yy_cp = yy_c_buf_p;
-
- /* support of yy___text */
- *yy_cp = yy_hold_char;
-
- /* yy_bp points to the position in yy_ch_buf of the start of the
- * current run.
- */
- yy_bp = yy_cp;
-
- /* % code to set up and find next match goes here */
- yy_current_state = yy_start;
- if ( yy_bp[-1] == '\n' )
- ++yy_current_state;
- yy_state_ptr = yy_state_buf;
- *yy_state_ptr++ = yy_current_state;
- yy_match:
- do
- {
- register YY_CHAR yy_c = yy_ec[*yy_cp];
- while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
- {
- yy_current_state = yy_def[yy_current_state];
- if ( yy_current_state >= 530 )
- yy_c = yy_meta[yy_c];
- }
- yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
- *yy_state_ptr++ = yy_current_state;
- ++yy_cp;
- }
- while ( yy_current_state != 529 );
- #line 433 "/u/icdc/rdt/tools/lib/flexskel.cc"
-
- yy_find_action:
- /* % code to find the action number goes here */
- yy_current_state = *--yy_state_ptr;
- yy_lp = yy_accept[yy_current_state];
- find_rule: /* we branch to this label when backtracking */
- for ( ; ; ) /* until we find what rule we matched */
- {
- if ( yy_lp && yy_lp < yy_accept[yy_current_state + 1] )
- {
- yy_act = yy_acclist[yy_lp];
- if ( yy_act & YY_TRAILING_HEAD_MASK ||
- yy_looking_for_trail_begin )
- {
- if ( yy_act == yy_looking_for_trail_begin )
- {
- yy_looking_for_trail_begin = 0;
- yy_act &= ~YY_TRAILING_HEAD_MASK;
- break;
- }
- }
- else if ( yy_act & YY_TRAILING_MASK )
- {
- yy_looking_for_trail_begin = yy_act & ~YY_TRAILING_MASK;
- yy_looking_for_trail_begin |= YY_TRAILING_HEAD_MASK;
- }
- else
- {
- yy_full_match = yy_cp;
- yy_full_state = yy_state_ptr;
- yy_full_lp = yy_lp;
- break;
- }
- ++yy_lp;
- goto find_rule;
- }
- --yy_cp;
- yy_current_state = *--yy_state_ptr;
- yy_lp = yy_accept[yy_current_state];
- }
- #line 436 "/u/icdc/rdt/tools/lib/flexskel.cc"
-
- YY_DO_BEFORE_ACTION;
- YY_USER_ACTION;
-
- do_action: /* this label is used only to access EOF actions */
- #if YY_lex_DEBUG != 0
- if ( yy___flex_debug )
- {
- if ( yy_act == 0 )
- fprintf( stderr, "--scanner backtracking\n" );
- else if ( yy_act < YY_END_OF_BUFFER -1 )
- fprintf( stderr,
- "--accepting rule at line %d (\"%s\")\n",
- yy_rule_linenum[yy_act], yy___text );
- else if ( yy_act == YY_END_OF_BUFFER -1 )
- fprintf( stderr,
- "--accepting default rule (\"%s\")\n",
- yy___text );
- else if ( yy_act == YY_END_OF_BUFFER )
- fprintf( stderr, "--(end of buffer or a NUL)\n" );
- else
- fprintf( stderr, "--EOF\n" );
- }
- #endif
- switch ( yy_act )
- {
- /* % actions go here */
- case 1:
- #line 92 "scan.l"
- indented_code = true; BEGIN(CODEBLOCK);
- YY_BREAK
- case 2:
- #line 93 "scan.l"
- ++linenum; /* treat as a comment */
- YY_BREAK
- case 3:
- #line 94 "scan.l"
- ++linenum; /* treat as a c++ comment */
- YY_BREAK
- case 4:
- #line 95 "scan.l"
- ECHO; BEGIN(C_COMMENT);
- YY_BREAK
- case 5:
- #line 96 "scan.l"
- return ( SCDECL );
- YY_BREAK
- case 6:
- #line 97 "scan.l"
- return ( XSCDECL );
- YY_BREAK
- case 7:
- #line 98 "scan.l"
- BEGIN(NAME_DECLARE);
- YY_BREAK
- case 8:
- #line 99 "scan.l"
- BEGIN(DEFINE_DECLARE);
- YY_BREAK
- case 9:
- #line 102 "scan.l"
- {
- ++linenum;
- line_directive_out( stdout );
- indented_code = false;
- BEGIN(CODEBLOCK);
- }
- YY_BREAK
- case 10:
- #line 108 "scan.l"
- {
- ++linenum;
- line_directive_out( headerfile );
- BEGIN(HEADER_BLOC);
- }
- YY_BREAK
- case 11:
- #line 114 "scan.l"
- return ( WHITESPACE );
- YY_BREAK
- case 12:
- #line 116 "scan.l"
- {
- set_lexer_name((char *)0);
- sectnum = 2;
- line_directive_out( headerfile );
- if(headerfilename!=NULL)
- {
- fprintf(stdout,
- "#include \"%s\"\n",includefilename);
- header_skeleton_out();
- };
- line_directive_out( stdout );
- BEGIN(SECT2PROLOG);
- return ( SECTEND );
- }
- YY_BREAK
- case 13:
- #line 131 "scan.l"
- {
- pinpoint_message( "warning - %%used/%%unused have been deprecated" );
- checking_used = REALLY_USED; BEGIN(USED_LIST);
- }
- YY_BREAK
- case 14:
- #line 135 "scan.l"
- {
- checking_used = REALLY_NOT_USED; BEGIN(USED_LIST);
- pinpoint_message( "warning - %%used/%%unused have been deprecated" );
- checking_used = REALLY_NOT_USED; BEGIN(USED_LIST);
- }
- YY_BREAK
- case 15:
- #line 142 "scan.l"
- {
- #ifdef NOTDEF
- fprintf( stderr,
- "old-style lex command at line %d ignored:\n\t%s",
- linenum, yytext );
- #endif
- ++linenum;
- }
- YY_BREAK
- case 16:
- #line 151 "scan.l"
- /* ignore old lex directive */
- YY_BREAK
- case 17:
- #line 153 "scan.l"
- {
- ++linenum;
- xlation =
- (int *) malloc( sizeof( int ) * (unsigned) csize );
-
- if ( ! xlation )
- flexfatal(
- "dynamic memory failure building %t table" );
-
- for ( i = 0; i < csize; ++i )
- xlation[i] = 0;
-
- num_xlations = 0;
-
- BEGIN(XLATION);
- }
- YY_BREAK
- case 18:
- #line 170 "scan.l"
- synerr( "unrecognized '%' directive" );
- YY_BREAK
- case 19:
- #line 172 "scan.l"
- {
- (void) strcpy( nmstr, (char *) yytext );
- didadef = false;
- BEGIN(PICKUPDEF);
- }
- YY_BREAK
- case 20:
- #line 178 "scan.l"
- RETURNNAME;
- YY_BREAK
- case 21:
- #line 179 "scan.l"
- ++linenum; /* allows blank lines in section 1 */
- YY_BREAK
- case 22:
- #line 180 "scan.l"
- ++linenum; return ( '\n' );
- YY_BREAK
- case 23:
- #line 181 "scan.l"
- {synerr( "illegal character" );
- fprintf(stderr,
- "Char : \\0x%x\n",yytext[yyleng-1]);
- BEGIN(RECOVER);}
- YY_BREAK
- case 24:
- #line 186 "scan.l"
- {set_lexer_name((char *)yytext);}
- YY_BREAK
- case 25:
- #line 187 "scan.l"
- ;
- YY_BREAK
- case 26:
- #line 188 "scan.l"
- ++linenum;BEGIN(INITIAL);
- YY_BREAK
- case 27:
- #line 189 "scan.l"
- synerr( "illegal character" );BEGIN(RECOVER);
- YY_BREAK
- case 28:
- #line 191 "scan.l"
- { set_lexer_name((char *)0);
- line_directive_out( headerfile );
- fprintf(headerfile,"#define YY_%s_%s ",lexer_name,yytext);
- BEGIN(DEFINE_CONTENT);
- }
- YY_BREAK
- case 29:
- #line 197 "scan.l"
- synerr( "illegal character" ); BEGIN(RECOVER);
- YY_BREAK
- case 30:
- #line 198 "scan.l"
- ++linenum;BEGIN(INITIAL);
- YY_BREAK
- case 31:
- #line 200 "scan.l"
- HEADER_ECHO;++linenum;
- YY_BREAK
- case 32:
- #line 201 "scan.l"
- ++linenum;HEADER_ECHO;BEGIN(INITIAL);
- YY_BREAK
- case 33:
- #line 202 "scan.l"
- HEADER_ECHO;
- YY_BREAK
- case 34:
- #line 204 "scan.l"
- ECHO; BEGIN(INITIAL);
- YY_BREAK
- case 35:
- #line 205 "scan.l"
- ++linenum; ECHO; BEGIN(INITIAL);
- YY_BREAK
- case 36:
- #line 206 "scan.l"
- ECHO;
- YY_BREAK
- case 37:
- #line 207 "scan.l"
- ECHO;
- YY_BREAK
- case 38:
- #line 208 "scan.l"
- ++linenum; ECHO;
- YY_BREAK
- case 39:
- #line 210 "scan.l"
- ++linenum; BEGIN(INITIAL);
- YY_BREAK
- case 40:
- #line 211 "scan.l"
- HEADER_ECHO; CHECK_REJECT(yytext);
- YY_BREAK
- case 41:
- #line 212 "scan.l"
- HEADER_ECHO; CHECK_YYMORE(yytext);
- YY_BREAK
- case 42:
- #line 213 "scan.l"
- HEADER_ECHO;
- YY_BREAK
- case 43:
- #line 214 "scan.l"
- {
- ++linenum;
- HEADER_ECHO;
- }
- YY_BREAK
- case 44:
- #line 220 "scan.l"
- ++linenum; BEGIN(SECT2);
- YY_BREAK
- case 45:
- #line 221 "scan.l"
- HEADER_ECHO; CHECK_REJECT(yytext);
- YY_BREAK
- case 46:
- #line 222 "scan.l"
- HEADER_ECHO; CHECK_YYMORE(yytext);
- YY_BREAK
- case 47:
- #line 223 "scan.l"
- HEADER_ECHO;
- YY_BREAK
- case 48:
- #line 224 "scan.l"
- {
- ++linenum;
- HEADER_ECHO;
- }
- YY_BREAK
- case 49:
- #line 232 "scan.l"
- ++linenum; BEGIN(INITIAL);
- YY_BREAK
- case 50:
- #line 233 "scan.l"
- ECHO; CHECK_REJECT(yytext);
- YY_BREAK
- case 51:
- #line 234 "scan.l"
- ECHO; CHECK_YYMORE(yytext);
- YY_BREAK
- case 52:
- #line 235 "scan.l"
- ECHO;
- YY_BREAK
- case 53:
- #line 236 "scan.l"
- {
- ++linenum;
- ECHO;
- if ( indented_code )
- BEGIN(INITIAL);
- }
- YY_BREAK
- case 54:
- #line 244 "scan.l"
- /* separates name and definition */
- YY_BREAK
- case 55:
- #line 246 "scan.l"
- {
- (void) strcpy( (char *) nmdef, (char *) yytext );
-
- for ( i = strlen( (char *) nmdef ) - 1;
- i >= 0 &&
- nmdef[i] == ' ' || nmdef[i] == '\t';
- --i )
- ;
-
- nmdef[i + 1] = '\0';
-
- ndinstal( nmstr, nmdef );
- didadef = true;
- }
- YY_BREAK
- case 56:
- #line 261 "scan.l"
- {
- if ( ! didadef )
- synerr( "incomplete name definition" );
- BEGIN(INITIAL);
- ++linenum;
- }
- YY_BREAK
- case 57:
- #line 268 "scan.l"
- ++linenum; BEGIN(INITIAL); RETURNNAME;
- YY_BREAK
- case 58:
- #line 271 "scan.l"
- ++linenum; BEGIN(INITIAL);
- YY_BREAK
- case 59:
- #line 272 "scan.l"
-
- YY_BREAK
- case 60:
- #line 273 "scan.l"
- {
- if ( all_upper( yytext ) )
- reject_really_used = checking_used;
- else
- synerr( "unrecognized %used/%unused construct" );
- }
- YY_BREAK
- case 61:
- #line 279 "scan.l"
- {
- if ( all_lower( yytext ) )
- yymore_really_used = checking_used;
- else
- synerr( "unrecognized %used/%unused construct" );
- }
- YY_BREAK
- case 62:
- #line 285 "scan.l"
- synerr( "unrecognized %used/%unused construct" );
- YY_BREAK
- case 63:
- #line 288 "scan.l"
- ++linenum; BEGIN(INITIAL);
- YY_BREAK
- case 64:
- #line 289 "scan.l"
- ++num_xlations; new_xlation = true;
- YY_BREAK
- case 65:
- #line 290 "scan.l"
- synerr( "bad row in translation table" );
- YY_BREAK
- case 66:
- #line 291 "scan.l"
- /* ignore whitespace */
- YY_BREAK
- case 67:
- #line 293 "scan.l"
- {
- xlation[myesc( yytext )] =
- (new_xlation ? num_xlations : -num_xlations);
- new_xlation = false;
- }
- YY_BREAK
- case 68:
- #line 298 "scan.l"
- {
- xlation[yytext[0]] =
- (new_xlation ? num_xlations : -num_xlations);
- new_xlation = false;
- }
- YY_BREAK
- case 69:
- #line 304 "scan.l"
- ++linenum;
- YY_BREAK
- case 70:
- *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
- yy_c_buf_p = yy_cp -= 1;
- YY_DO_BEFORE_ACTION; /* set up yytext again */
- #line 307 "scan.l"
- {
- ++linenum;
- ACTION_ECHO;
- MARK_END_OF_PROLOG;
- BEGIN(SECT2);
- }
- YY_BREAK
- case 71:
- #line 314 "scan.l"
- ++linenum; ACTION_ECHO;
- YY_BREAK
- case YY_STATE_EOF(SECT2PROLOG):
- #line 316 "scan.l"
- MARK_END_OF_PROLOG; yyterminate();
- YY_BREAK
- case 73:
- #line 318 "scan.l"
- ++linenum; /* allow blank lines in section 2 */
- YY_BREAK
- case 74:
- #line 320 "scan.l"
- {
- line_directive_out( headerfile );
- BEGIN(HEADER2_BLOC);
- }
- YY_BREAK
- case 75:
- #line 324 "scan.l"
- {
- indented_code = (yytext[0] != '%');
- doing_codeblock = true;
- bracelevel = 1;
-
- if ( indented_code )
- ACTION_ECHO;
-
- BEGIN(CODEBLOCK_2);
- }
- YY_BREAK
- case 76:
- #line 335 "scan.l"
- BEGIN(SC); return ( '<' );
- YY_BREAK
- case 77:
- #line 336 "scan.l"
- return ( '^' );
- YY_BREAK
- case 78:
- #line 337 "scan.l"
- BEGIN(QUOTE); return ( '"' );
- YY_BREAK
- case 79:
- *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
- yy_c_buf_p = yy_cp = yy_bp + 1;
- YY_DO_BEFORE_ACTION; /* set up yytext again */
- #line 338 "scan.l"
- BEGIN(NUM); return ( '{' );
- YY_BREAK
- case 80:
- #line 339 "scan.l"
- BEGIN(BRACEERROR);
- YY_BREAK
- case 81:
- *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
- yy_c_buf_p = yy_cp = yy_bp + 1;
- YY_DO_BEFORE_ACTION; /* set up yytext again */
- #line 340 "scan.l"
- return ( '$' );
- YY_BREAK
- case 82:
- #line 342 "scan.l"
- {
- bracelevel = 1;
- BEGIN(PERCENT_BRACE_ACTION);
- return ( '\n' );
- }
- YY_BREAK
- case 83:
- #line 347 "scan.l"
- continued_action = true; ++linenum; return ( '\n' );
- YY_BREAK
- case 84:
- #line 349 "scan.l"
- {
- /* this rule is separate from the one below because
- * otherwise we get variable trailing context, so
- * we can't build the scanner using -{f,F}
- */
- bracelevel = 0;
- continued_action = false;
- BEGIN(ACTION);
- return ( '\n' );
- }
- YY_BREAK
- case 85:
- #line 360 "scan.l"
- {
- bracelevel = 0;
- continued_action = false;
- BEGIN(ACTION);
- return ( '\n' );
- }
- YY_BREAK
- case 86:
- #line 367 "scan.l"
- ++linenum; return ( '\n' );
- YY_BREAK
- case 87:
- #line 369 "scan.l"
- return ( EOF_OP );
- YY_BREAK
- case 88:
- #line 371 "scan.l"
- {
- sectnum = 3;
- BEGIN(SECT3);
- return ( EOF ); /* to stop the parser */
- }
- YY_BREAK
- case 89:
- #line 377 "scan.l"
- {
- int cclval;
-
- (void) strcpy( nmstr, (char *) yytext );
-
- /* check to see if we've already encountered this ccl */
- if ( (cclval = ccllookup( (Char *) nmstr )) )
- {
- yylval = cclval;
- ++cclreuse;
- return ( PREVCCL );
- }
- else
- {
- /* we fudge a bit. We know that this ccl will
- * soon be numbered as lastccl + 1 by cclinit
- */
- cclinstal( (Char *) nmstr, lastccl + 1 );
-
- /* push back everything but the leading bracket
- * so the ccl can be rescanned
- */
- PUT_BACK_STRING((Char *) nmstr, 1);
-
- BEGIN(FIRSTCCL);
- return ( '[' );
- }
- }
- YY_BREAK
- case 90:
- #line 406 "scan.l"
- {
- register Char *nmdefptr;
- Char *ndlookup();
-
- (void) strcpy( nmstr, (char *) yytext );
- nmstr[yyleng - 1] = '\0'; /* chop trailing brace */
-
- /* lookup from "nmstr + 1" to chop leading brace */
- if ( ! (nmdefptr = ndlookup( nmstr + 1 )) )
- synerr( "undefined {name}" );
-
- else
- { /* push back name surrounded by ()'s */
- unput(')');
- PUT_BACK_STRING(nmdefptr, 0);
- unput('(');
- }
- }
- YY_BREAK
- case 91:
- #line 425 "scan.l"
- return ( yytext[0] );
- YY_BREAK
- case 92:
- #line 426 "scan.l"
- RETURNCHAR;
- YY_BREAK
- case 93:
- #line 427 "scan.l"
- ++linenum; return ( '\n' );
- YY_BREAK
- case 94:
- #line 430 "scan.l"
- return ( ',' );
- YY_BREAK
- case 95:
- #line 431 "scan.l"
- BEGIN(SECT2); return ( '>' );
- YY_BREAK
- case 96:
- *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
- yy_c_buf_p = yy_cp = yy_bp + 1;
- YY_DO_BEFORE_ACTION; /* set up yytext again */
- #line 432 "scan.l"
- BEGIN(CARETISBOL); return ( '>' );
- YY_BREAK
- case 97:
- #line 433 "scan.l"
- RETURNNAME;
- YY_BREAK
- case 98:
- #line 434 "scan.l"
- synerr( "bad start condition name" );
- YY_BREAK
- case 99:
- #line 436 "scan.l"
- BEGIN(SECT2); return ( '^' );
- YY_BREAK
- case 100:
- #line 439 "scan.l"
- RETURNCHAR;
- YY_BREAK
- case 101:
- #line 440 "scan.l"
- BEGIN(SECT2); return ( '"' );
- YY_BREAK
- case 102:
- #line 442 "scan.l"
- {
- synerr( "missing quote" );
- BEGIN(SECT2);
- ++linenum;
- return ( '"' );
- }
- YY_BREAK
- case 103:
- *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
- yy_c_buf_p = yy_cp = yy_bp + 1;
- YY_DO_BEFORE_ACTION; /* set up yytext again */
- #line 450 "scan.l"
- BEGIN(CCL); return ( '^' );
- YY_BREAK
- case 104:
- *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
- yy_c_buf_p = yy_cp = yy_bp + 1;
- YY_DO_BEFORE_ACTION; /* set up yytext again */
- #line 451 "scan.l"
- return ( '^' );
- YY_BREAK
- case 105:
- #line 452 "scan.l"
- BEGIN(CCL); yylval = '-'; return ( CHAR );
- YY_BREAK
- case 106:
- #line 453 "scan.l"
- BEGIN(CCL); RETURNCHAR;
- YY_BREAK
- case 107:
- *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
- yy_c_buf_p = yy_cp = yy_bp + 1;
- YY_DO_BEFORE_ACTION; /* set up yytext again */
- #line 455 "scan.l"
- return ( '-' );
- YY_BREAK
- case 108:
- #line 456 "scan.l"
- RETURNCHAR;
- YY_BREAK
- case 109:
- #line 457 "scan.l"
- BEGIN(SECT2); return ( ']' );
- YY_BREAK
- case 110:
- #line 460 "scan.l"
- {
- yylval = myctoi( yytext );
- return ( NUMBER );
- }
- YY_BREAK
- case 111:
- #line 465 "scan.l"
- return ( ',' );
- YY_BREAK
- case 112:
- #line 466 "scan.l"
- BEGIN(SECT2); return ( '}' );
- YY_BREAK
- case 113:
- #line 468 "scan.l"
- {
- synerr( "bad character inside {}'s" );
- BEGIN(SECT2);
- return ( '}' );
- }
- YY_BREAK
- case 114:
- #line 474 "scan.l"
- {
- synerr( "missing }" );
- BEGIN(SECT2);
- ++linenum;
- return ( '}' );
- }
- YY_BREAK
- case 115:
- #line 482 "scan.l"
- synerr( "bad name in {}'s" ); BEGIN(SECT2);
- YY_BREAK
- case 116:
- #line 483 "scan.l"
- synerr( "missing }" ); ++linenum; BEGIN(SECT2);
- YY_BREAK
- case 117:
- #line 486 "scan.l"
- bracelevel = 0;
- YY_BREAK
- case 118:
- #line 487 "scan.l"
- {
- ACTION_ECHO;
- CHECK_REJECT(yytext);
- }
- YY_BREAK
- case 119:
- #line 491 "scan.l"
- {
- ACTION_ECHO;
- CHECK_YYMORE(yytext);
- }
- YY_BREAK
- case 120:
- #line 495 "scan.l"
- ACTION_ECHO;
- YY_BREAK
- case 121:
- #line 496 "scan.l"
- {
- ++linenum;
- ACTION_ECHO;
- if ( bracelevel == 0 ||
- (doing_codeblock && indented_code) )
- {
- if ( ! doing_codeblock )
- fputs( "\tYY_BREAK\n", temp_action_file );
-
- doing_codeblock = false;
- BEGIN(SECT2);
- }
- }
- YY_BREAK
- /* Reject and YYmore() are checked for above, in PERCENT_BRACE_ACTION */
- case 122:
- #line 512 "scan.l"
- ACTION_ECHO; ++bracelevel;
- YY_BREAK
- case 123:
- #line 513 "scan.l"
- ACTION_ECHO; --bracelevel;
- YY_BREAK
- case 124:
- #line 514 "scan.l"
- ACTION_ECHO;
- YY_BREAK
- case 125:
- #line 515 "scan.l"
- ACTION_ECHO;
- YY_BREAK
- case 126:
- #line 516 "scan.l"
- ++linenum;ACTION_ECHO;
- YY_BREAK
- case 127:
- #line 517 "scan.l"
- ACTION_ECHO; BEGIN(ACTION_COMMENT);
- YY_BREAK
- case 128:
- #line 518 "scan.l"
- ACTION_ECHO; /* character constant */
- YY_BREAK
- case 129:
- #line 519 "scan.l"
- ACTION_ECHO; BEGIN(ACTION_STRING);
- YY_BREAK
- case 130:
- #line 520 "scan.l"
- {
- ++linenum;
- ACTION_ECHO;
- if ( bracelevel == 0 )
- {
- fputs( "\tYY_BREAK\n", temp_action_file );
- BEGIN(SECT2);
- }
- }
- YY_BREAK
- case 131:
- #line 529 "scan.l"
- ACTION_ECHO;
- YY_BREAK
- case 132:
- #line 531 "scan.l"
- ACTION_ECHO; BEGIN(ACTION);
- YY_BREAK
- case 133:
- #line 532 "scan.l"
- ACTION_ECHO;
- YY_BREAK
- case 134:
- #line 533 "scan.l"
- ACTION_ECHO;
- YY_BREAK
- case 135:
- #line 534 "scan.l"
- ++linenum; ACTION_ECHO;
- YY_BREAK
- case 136:
- #line 535 "scan.l"
- ACTION_ECHO;
- YY_BREAK
- case 137:
- #line 537 "scan.l"
- ACTION_ECHO;
- YY_BREAK
- case 138:
- #line 538 "scan.l"
- ACTION_ECHO;
- YY_BREAK
- case 139:
- #line 539 "scan.l"
- ++linenum; ACTION_ECHO;
- YY_BREAK
- case 140:
- #line 540 "scan.l"
- ACTION_ECHO; BEGIN(ACTION);
- YY_BREAK
- case 141:
- #line 541 "scan.l"
- ACTION_ECHO;
- YY_BREAK
- case YY_STATE_EOF(ACTION):
- case YY_STATE_EOF(ACTION_COMMENT):
- case YY_STATE_EOF(ACTION_STRING):
- #line 543 "scan.l"
- {
- synerr( "EOF encountered inside an action" );
- yyterminate();
- }
- YY_BREAK
- case 143:
- #line 549 "scan.l"
- {
- yylval = myesc( yytext );
- return ( CHAR );
- }
- YY_BREAK
- case 144:
- #line 554 "scan.l"
- {
- yylval = myesc( yytext );
- BEGIN(CCL);
- return ( CHAR );
- }
- YY_BREAK
- case 145:
- #line 561 "scan.l"
- ECHO;
- YY_BREAK
- case 146:
- #line 562 "scan.l"
- YY_FATAL_ERROR( "flex scanner jammed" );
- YY_BREAK
- case YY_STATE_EOF(INITIAL):
- case YY_STATE_EOF(SECT2):
- case YY_STATE_EOF(SECT3):
- case YY_STATE_EOF(CODEBLOCK):
- case YY_STATE_EOF(PICKUPDEF):
- case YY_STATE_EOF(SC):
- case YY_STATE_EOF(CARETISBOL):
- case YY_STATE_EOF(NUM):
- case YY_STATE_EOF(QUOTE):
- case YY_STATE_EOF(FIRSTCCL):
- case YY_STATE_EOF(CCL):
- case YY_STATE_EOF(RECOVER):
- case YY_STATE_EOF(BRACEERROR):
- case YY_STATE_EOF(C_COMMENT):
- case YY_STATE_EOF(PERCENT_BRACE_ACTION):
- case YY_STATE_EOF(USED_LIST):
- case YY_STATE_EOF(CODEBLOCK_2):
- case YY_STATE_EOF(XLATION):
- case YY_STATE_EOF(HEADER_BLOC):
- case YY_STATE_EOF(HEADER2_BLOC):
- case YY_STATE_EOF(NAME_DECLARE):
- case YY_STATE_EOF(DEFINE_DECLARE):
- case YY_STATE_EOF(DEFINE_CONTENT):
- yyterminate();
- #line 463 "/u/icdc/rdt/tools/lib/flexskel.cc"
-
- case YY_END_OF_BUFFER:
- {
- /* amount of text matched not including the EOB char */
- int yy_amount_of_matched_text = yy_cp - yy___text - 1;
-
- /* undo the effects of YY_DO_BEFORE_ACTION */
- *yy_cp = yy_hold_char;
-
- /* note that here we test for yy_c_buf_p "<=" to the position
- * of the first EOB in the buffer, since yy_c_buf_p will
- * already have been incremented past the NUL character
- * (since all states make transitions on EOB to the end-
- * of-buffer state). Contrast this with the test in yyinput().
- */
- if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
- /* this was really a NUL */
- {
- yy_state_type yy_next_state;
-
- yy_c_buf_p = yy___text + yy_amount_of_matched_text;
-
- yy_current_state = yy_get_previous_state();
-
- /* okay, we're now positioned to make the
- * NUL transition. We couldn't have
- * yy_get_previous_state() go ahead and do it
- * for us because it doesn't know how to deal
- * with the possibility of jamming (and we
- * don't want to build jamming into it because
- * then it will run more slowly)
- */
-
- yy_next_state = yy_try_NUL_trans( yy_current_state );
-
- yy_bp = yy___text + YY_MORE_ADJ;
-
- if ( yy_next_state )
- {
- /* consume the NUL */
- yy_cp = ++yy_c_buf_p;
- yy_current_state = yy_next_state;
- goto yy_match;
- }
-
- else
- {
- /* % code to do backtracking for compressed tables and set up yy_cp goes here */
- #line 511 "/u/icdc/rdt/tools/lib/flexskel.cc"
- goto yy_find_action;
- }
- }
-
- else switch ( yy_get_next_buffer() )
- {
- case EOB_ACT_END_OF_FILE:
- {
- yy_did_buffer_switch_on_eof = 0;
-
- if ( yywrap() )
- {
- /* note: because we've taken care in
- * yy_get_next_buffer() to have set up yy___text,
- * we can now set up yy_c_buf_p so that if some
- * total hoser (like flex itself) wants
- * to call the scanner after we return the
- * YY_NULL, it'll still work - another YY_NULL
- * will get returned.
- */
- yy_c_buf_p = yy___text + YY_MORE_ADJ;
-
- yy_act = YY_STATE_EOF((yy_start - 1) / 2);
- goto do_action;
- }
-
- else
- {
- if ( ! yy_did_buffer_switch_on_eof )
- YY_NEW_FILE;
- }
- }
- break;
-
- case EOB_ACT_CONTINUE_SCAN:
- yy_c_buf_p = yy___text + yy_amount_of_matched_text;
-
- yy_current_state = yy_get_previous_state();
-
- yy_cp = yy_c_buf_p;
- yy_bp = yy___text + YY_MORE_ADJ;
- goto yy_match;
-
- case EOB_ACT_LAST_MATCH:
- yy_c_buf_p =
- &yy_current_buffer->yy_ch_buf[yy_n_chars];
-
- yy_current_state = yy_get_previous_state();
-
- yy_cp = yy_c_buf_p;
- yy_bp = yy___text + YY_MORE_ADJ;
- goto yy_find_action;
- }
- break;
- }
-
- default:
- #if YY_lex_DEBUG != 0
- fprintf(stderr, "action # %d\n", yy_act );
- #endif
- YY_FATAL_ERROR(
- "fatal flex scanner internal error--no action found" );
- }
- }
- yyterminate();/* avoid the no return value error message on MS-C7/dos */
- }
-
-
- /* yy_get_next_buffer - try to read in a new buffer
- *
- * synopsis
- * int yy_get_next_buffer();
- *
- * returns a code representing an action
- * EOB_ACT_LAST_MATCH -
- * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
- * EOB_ACT_END_OF_FILE - end of file
- */
- #ifndef YY_USE_CLASS
- static int yy_get_next_buffer()
- #else
- int YY_lex_CLASS::yy_get_next_buffer()
- #endif
- {
- register YY_lex_CHAR *dest = yy_current_buffer->yy_ch_buf;
- register YY_lex_CHAR *source = yy___text - 1; /* copy prev. char, too */
- register int number_to_move, i;
- int ret_val;
-
- if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
- YY_FATAL_ERROR(
- "fatal flex scanner internal error--end of buffer missed" );
-
- /* try to read more data */
-
- /* first move last chars to start of buffer */
- number_to_move = yy_c_buf_p - yy___text;
-
- for ( i = 0; i < number_to_move; ++i )
- *(dest++) = *(source++);
-
- if ( yy_current_buffer->yy_eof_status != EOF_NOT_SEEN )
- /* don't do the read, it's not guaranteed to return an EOF,
- * just force an EOF
- */
- yy_n_chars = 0;
-
- else
- {
- int num_to_read = yy_current_buffer->yy_buf_size - number_to_move - 1;
-
- if ( num_to_read > YY_READ_BUF_SIZE )
- num_to_read = YY_READ_BUF_SIZE;
-
- else if ( num_to_read <= 0 )
- YY_FATAL_ERROR( "fatal error - scanner input buffer overflow" );
-
- /* read in more data */
- YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
- yy_n_chars, num_to_read );
- }
-
- if ( yy_n_chars == 0 )
- {
- if ( number_to_move - YY_MORE_ADJ == 1 )
- {
- ret_val = EOB_ACT_END_OF_FILE;
- yy_current_buffer->yy_eof_status = EOF_DONE;
- }
-
- else
- {
- ret_val = EOB_ACT_LAST_MATCH;
- yy_current_buffer->yy_eof_status = EOF_PENDING;
- }
- }
-
- else
- ret_val = EOB_ACT_CONTINUE_SCAN;
-
- yy_n_chars += number_to_move;
- yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
- yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
-
- /* yy___text begins at the second character in yy_ch_buf; the first
- * character is the one which preceded it before reading in the latest
- * buffer; it needs to be kept around in case it's a newline, so
- * yy_get_previous_state() will have with '^' rules active
- */
-
- yy___text = &yy_current_buffer->yy_ch_buf[1];
-
- return ( ret_val );
- }
-
-
- /* yy_get_previous_state - get the state just before the EOB char was reached
- *
- * synopsis
- * yy_state_type yy_get_previous_state();
- */
-
- #ifndef YY_USE_CLASS
- static yy_state_type yy_get_previous_state()
- #else
- long YY_lex_CLASS::yy_get_previous_state_()
- #endif
- {
- register yy_state_type yy_current_state;
- register YY_lex_CHAR *yy_cp;
-
- /* % code to get the start state into yy_current_state goes here */
- register YY_CHAR *yy_bp = yy___text;
-
- yy_current_state = yy_start;
- if ( yy_bp[-1] == '\n' )
- ++yy_current_state;
- yy_state_ptr = yy_state_buf;
- *yy_state_ptr++ = yy_current_state;
- #line 683 "/u/icdc/rdt/tools/lib/flexskel.cc"
-
- for ( yy_cp = yy___text + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
- {
- /* % code to find the next state goes here */
- register YY_CHAR yy_c = (*yy_cp ? yy_ec[*yy_cp] : 1);
- while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
- {
- yy_current_state = yy_def[yy_current_state];
- if ( yy_current_state >= 530 )
- yy_c = yy_meta[yy_c];
- }
- yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
- *yy_state_ptr++ = yy_current_state;
- #line 687 "/u/icdc/rdt/tools/lib/flexskel.cc"
- }
-
- #ifndef YY_USE_CLASS
- return ( yy_current_state );
- #else
- return (long)( yy_current_state );
- #endif
- }
-
-
- /* yy_try_NUL_trans - try to make a transition on the NUL character
- *
- * synopsis
- * next_state = yy_try_NUL_trans( current_state );
- */
-
- #ifndef YY_USE_CLASS
- #ifdef YY_USE_PROTOS
- static yy_state_type yy_try_NUL_trans( register yy_state_type yy_current_state )
- #else
- static yy_state_type yy_try_NUL_trans( yy_current_state )
- register yy_state_type yy_current_state;
- #endif
- #else
- long YY_lex_CLASS::yy_try_NUL_trans_(long yy_current_state_)
- #endif
-
- {
- #ifndef YY_USE_CLASS
- #else
- yy_state_type yy_current_state=(yy_state_type)yy_current_state_;
- #endif
- register int yy_is_jam;
- /* % code to find the next state, and perhaps do backtracking, goes here */
-
- register YY_CHAR yy_c = 1;
- while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
- {
- yy_current_state = yy_def[yy_current_state];
- if ( yy_current_state >= 530 )
- yy_c = yy_meta[yy_c];
- }
- yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
- *yy_state_ptr++ = yy_current_state;
- yy_is_jam = (yy_current_state == 529);
- #line 721 "/u/icdc/rdt/tools/lib/flexskel.cc"
-
- #ifndef YY_USE_CLASS
- return ( yy_is_jam ? 0 : yy_current_state );
- #else
- return (long)( yy_is_jam ? 0 : yy_current_state );
- #endif
- }
-
- #ifndef YY_USE_CLASS
- #ifdef YY_USE_PROTOS
- static void yyunput( YY_lex_CHAR c, register YY_lex_CHAR *yy_bp )
- #else
- static void yyunput( c, yy_bp )
- YY_lex_CHAR c;
- register YY_lex_CHAR *yy_bp;
- #endif
- #else
- void YY_lex_CLASS::yyunput( YY_lex_CHAR c, YY_lex_CHAR *yy_bp )
- #endif
-
- {
- register YY_lex_CHAR *yy_cp = yy_c_buf_p;
-
- /* undo effects of setting up yy___text */
- *yy_cp = yy_hold_char;
-
- if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
- { /* need to shift things up to make room */
- register int number_to_move = yy_n_chars + 2; /* +2 for EOB chars */
- register YY_lex_CHAR *dest =
- &yy_current_buffer->yy_ch_buf[yy_current_buffer->yy_buf_size + 2];
- register YY_lex_CHAR *source =
- &yy_current_buffer->yy_ch_buf[number_to_move];
-
- while ( source > yy_current_buffer->yy_ch_buf )
- *--dest = *--source;
-
- yy_cp += dest - source;
- yy_bp += dest - source;
- yy_n_chars = yy_current_buffer->yy_buf_size;
-
- if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
- YY_FATAL_ERROR( "flex scanner push-back overflow" );
- }
-
- if ( yy_cp > yy_bp && yy_cp[-1] == '\n' )
- yy_cp[-2] = '\n';
-
- *--yy_cp = c;
-
- /* note: the formal parameter *must* be called "yy_bp" for this
- * macro to now work correctly
- */
- YY_DO_BEFORE_ACTION; /* set up yy___text again */
- }
-
- #ifndef YY_USE_CLASS
- #ifdef __cplusplus
- static int yyinput()
- #else
- static int input()
- #endif
- #else
- int YY_lex_CLASS::input()
- #endif
- {
- int c;
- YY_lex_CHAR *yy_cp = yy_c_buf_p;
-
- *yy_cp = yy_hold_char;
-
- if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
- {
- /* yy_c_buf_p now points to the character we want to return.
- * If this occurs *before* the EOB characters, then it's a
- * valid NUL; if not, then we've hit the end of the buffer.
- */
- if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
- /* this was really a NUL */
- *yy_c_buf_p = '\0';
-
- else
- { /* need more input */
- yy___text = yy_c_buf_p;
- ++yy_c_buf_p;
-
- switch ( yy_get_next_buffer() )
- {
- case EOB_ACT_END_OF_FILE:
- {
- if ( yywrap() )
- {
- yy_c_buf_p = yy___text + YY_MORE_ADJ;
- return ( EOF );
- }
-
- YY_NEW_FILE;
- #ifndef YY_USE_CLASS
- #ifdef __cplusplus
- return ( yyinput() );
- #else
- return ( input() );
- #endif
- #else
- return ( input() );
- #endif
- }
- break;
-
- case EOB_ACT_CONTINUE_SCAN:
- yy_c_buf_p = yy___text + YY_MORE_ADJ;
- break;
-
- case EOB_ACT_LAST_MATCH:
- #ifndef YY_USE_CLASS
- #ifdef __cplusplus
- YY_FATAL_ERROR( "unexpected last match in yyinput()" );
- #else
- YY_FATAL_ERROR( "unexpected last match in input()" );
- #endif
- #else
- YY_FATAL_ERROR( "unexpected last match in YY_lex_CLASS::input()" );
- #endif
- }
- }
- }
-
- c = *yy_c_buf_p;
- yy_hold_char = *++yy_c_buf_p;
-
- return ( c );
- }
-
-
- #ifndef YY_USE_CLASS
- #ifdef YY_USE_PROTOS
- void YY_lex_RESTART( FILE *input_file )
- #else
- void YY_lex_RESTART( input_file )
- FILE *input_file;
- #endif
- #else
- void YY_lex_CLASS::YY_lex_RESTART ( FILE *input_file )
- #endif
-
- {
- YY_lex_INIT_BUFFER( yy_current_buffer, input_file );
- YY_lex_LOAD_BUFFER_STATE();
- }
-
-
- #ifndef YY_USE_CLASS
- #ifdef YY_USE_PROTOS
- void YY_lex_SWITCH_TO_BUFFER( YY_BUFFER_STATE new_buffer )
- #else
- void YY_lex_SWITCH_TO_BUFFER( new_buffer )
- YY_BUFFER_STATE new_buffer;
- #endif
- #else
- void YY_lex_CLASS::YY_lex_SWITCH_TO_BUFFER( YY_BUFFER_STATE new_buffer )
- #endif
-
- {
- if ( yy_current_buffer == new_buffer )
- return;
-
- if ( yy_current_buffer )
- {
- /* flush out information for old buffer */
- *yy_c_buf_p = yy_hold_char;
- yy_current_buffer->yy_buf_pos = yy_c_buf_p;
- yy_current_buffer->yy_n_chars = yy_n_chars;
- }
-
- yy_current_buffer = new_buffer;
- YY_lex_LOAD_BUFFER_STATE();
-
- /* we don't actually know whether we did this switch during
- * EOF (yywrap()) processing, but the only time this flag
- * is looked at is after yywrap() is called, so it's safe
- * to go ahead and always set it.
- */
- yy_did_buffer_switch_on_eof = 1;
- }
-
-
- #ifndef YY_USE_CLASS
- #ifdef YY_USE_PROTOS
- void YY_lex_LOAD_BUFFER_STATE( void )
- #else
- void YY_lex_LOAD_BUFFER_STATE()
- #endif
- #else
- void YY_lex_CLASS::YY_lex_LOAD_BUFFER_STATE( )
- #endif
-
- {
- yy_n_chars = yy_current_buffer->yy_n_chars;
- yy___text = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
- yy___in = yy_current_buffer->yy_input_file;
- yy_hold_char = *yy_c_buf_p;
- }
-
-
- #ifndef YY_USE_CLASS
- #ifdef YY_USE_PROTOS
- YY_BUFFER_STATE YY_lex_CREATE_BUFFER( FILE *file, int size )
- #else
- YY_BUFFER_STATE YY_lex_CREATE_BUFFER( file, size )
- FILE *file;
- int size;
- #endif
- #else
- YY_BUFFER_STATE YY_lex_CLASS::YY_lex_CREATE_BUFFER( FILE *file, int size )
- #endif
-
- {
- YY_BUFFER_STATE b;
-
- b = (YY_BUFFER_STATE) malloc( sizeof( struct yy_buffer_state ) );
-
- if ( ! b )
- YY_FATAL_ERROR( "out of dynamic memory in YY_lex_CREATE_BUFFER()" );
-
- b->yy_buf_size = size;
-
- /* yy_ch_buf has to be 2 characters longer than the size given because
- * we need to put in 2 end-of-buffer characters.
- */
- b->yy_ch_buf = (YY_lex_CHAR *) malloc( (unsigned) (b->yy_buf_size + 2) );
-
- if ( ! b->yy_ch_buf )
- YY_FATAL_ERROR( "out of dynamic memory in YY_lex_CREATE_BUFFER()" );
-
- YY_lex_INIT_BUFFER( b, file );
-
- return ( b );
- }
-
-
- #ifndef YY_USE_CLASS
- #ifdef YY_USE_PROTOS
- void YY_lex_DELETE_BUFFER( YY_BUFFER_STATE b )
- #else
- void YY_lex_DELETE_BUFFER( b )
- YY_BUFFER_STATE b;
- #endif
- #else
- void YY_lex_CLASS::YY_lex_DELETE_BUFFER( YY_BUFFER_STATE b )
- #endif
-
- {
- if ( b == yy_current_buffer )
- yy_current_buffer = (YY_BUFFER_STATE) 0;
-
- free( (char *) b->yy_ch_buf );
- free( (char *) b );
- }
-
-
- #ifndef YY_USE_CLASS
- #ifdef YY_USE_PROTOS
- void YY_lex_INIT_BUFFER( YY_BUFFER_STATE b, FILE *file )
- #else
- void YY_lex_INIT_BUFFER( b, file )
- YY_BUFFER_STATE b;
- FILE *file;
- #endif
- #else
- void YY_lex_CLASS::YY_lex_INIT_BUFFER( YY_BUFFER_STATE b, FILE *file)
- #endif
-
- {
- b->yy_input_file = file;
-
- /* we put in the '\n' and start reading from [1] so that an
- * initial match-at-newline will be true.
- */
-
- b->yy_ch_buf[0] = '\n';
- b->yy_n_chars = 1;
-
- /* we always need two end-of-buffer characters. The first causes
- * a transition to the end-of-buffer state. The second causes
- * a jam in that state.
- */
- b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
- b->yy_ch_buf[2] = YY_END_OF_BUFFER_CHAR;
-
- b->yy_buf_pos = &b->yy_ch_buf[1];
-
- b->yy_eof_status = EOF_NOT_SEEN;
- }
- #line 562 "scan.l"
-
-
-
- int yywrap()
-
- {
- if ( --num_input_files > 0 )
- {
- set_input_file( *++input_files );
- return ( 0 );
- }
-
- else
- return ( 1 );
- }
-
-
- /* set_input_file - open the given file (if NULL, stdin) for scanning */
-
- void set_input_file( file )
- char *file;
-
- {
- if ( file )
- {
- infilename = file;
- yyin = fopen( infilename, "r" );
-
- if ( yyin == NULL )
- lerrsf( "can't open %s", file );
- }
-
- else
- {
- yyin = stdin;
- infilename = "<stdin>";
- }
- }
-
-